Sorting filter not working #759
Replies: 8 comments
|
💬 octopixell on Discord wrote: That's because you're sorting by |
|
💬 octopixell on Discord wrote: Which means for the |
|
💬 octopixell on Discord wrote: You have also forgotten to tell it which field to sort by |
|
💬 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 |
|
💬 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 |
|
💬 octopixell on Discord wrote: Hope this helps 🙂 |
|
💬 octopixell on Discord wrote: No problem 🙂 👍 |
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
All reactions