Sorting filter not working #759
Replies: 8 comments
-
💬 octopixell on Discord wrote: That's because you're sorting by |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: Which means for the |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: You have also forgotten to tell it which field to sort by |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: Sorting works by telling it what to sort by and which order to sort in:
https://tcgdex.dev/rest/filtering-sorting-pagination#example-1 |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: So your call would end up being: https://api.tcgdex.net/v2/en/series?sort:field=name&sort:order=DESC to sort Descending by |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
-
💬 _daronnn on Discord wrote: Okay thanks |
Beta Was this translation helpful? Give feedback.
-
💬 octopixell on Discord wrote: No problem 🙂 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
💬 _daronnn on Discord wrote:
When using the filter to order the datas it doesn't work, it is still in the same order : https://api.tcgdex.net/v2/en/series?sort:order=DESC, https://api.tcgdex.net/v2/en/series?sort:order=ASC
Beta Was this translation helpful? Give feedback.
All reactions