At first, I looked for sorting options within the repeat regions expression’s app connect formatting since I would think that it would be most efficient to create a single server connect and single app connect and control sorting at the repeat region level but I didn’t see sorting options. Am I missing something obvious?
I was able to get the following solution to work, but I’m not sure it is optimal:
I setup two server connect actions with one sorting randomly and another sorting by time created. Also, I created two app connects for each. Each repeat region calls it’s app connect via the expression repeat properties with the correct data binded to paragraph inputs. It works, but it runs two server queries that are nearly identical except for the sort. Seems kind of redundant.
Also, I did notice that it’s possible to control sorting at the component level when it’s a table per https://docs.wappler.io/t/dynamic-sortable-table/2866 but I don’t I see an option for a repeat region w/o table.
Last updated: