I have a gallery with the following formula in the Items property
Switch(
locSortColumn,
"Title", Sort('MMRS Trailer', Title, If(locSortAscending, Ascending, Descending)),
"Location", Sort('MMRS Trailer', Location, If(locSortAscending, Ascending, Descending)),
'MMRS Trailer'
)
I have a Gallery, two buttons and a search bar.
Issue 1: How do I add my search terms in the above code? I've tried using "|", "&", "And"
Can't figure out that syntax
Issue 2: When I click sort by location, it works but my column has text and numbers in it. (Box 1, Box 2, Left Rear, etc)
So it is displayed as: Box 1, Box 10, Box 11, Box 2 and so on.
Anyone have a cool trick to fix this issue?
Thanks