Filter and Sort

Yep, I think I’ll create a dedicated tutorial/detailed guide like this one so everyone can follow along from start to finish :slight_smile:

@Joyce and @flo I’m having trouble with sorting using no-code frontend filters. What is the correct value to bind to “order”?

I tried “Desc”, “desc”, “descending” etc with and without quotes, but not seeing a change. It does work if I select the desc option from the dropdown. Thank you

1 Like

Hi @foliodc you can try DESC, it should work :slight_smile:

2 Likes

That worked thanks! I’m a little confused by the sort direction. Alphabetical works A to Z for ascending, but numbers seem to be backwards. Ex, when I set to “ascending” it starts with the higher number (timestamp in the future) and goes down (timestamp in past). And when “descending” it shows the opposite (older/lower to newer/future/higher). Not so bad bc I can bind to get the right answer, but my site will be backwards if this changes in the future, maybe I’m misunderstanding something. Thanks!

3 Likes

@foliodc I’ll check that, because it also seemed to me that our Asc/Desc was inverted on some data types.

I didn’t remember which ones when building, thank you for reminding me :laughing:

I’ll check and add the bug fix in the roadmap if needed.

EDIT: indeed it’s inverted on numbers, I added it as a bug report for the tech team :wink:

1 Like