0

API: Sort order not working when combined with filters

Hello!

I use Ninox to maintain my collection. I want to display my most recent purchases on a website using the API. This works great as long as I do not apply any constraints through filters:

https://api.ninoxdb.de/v1/teams/[team]/databases/[database]/tables/A/records/?order=Created&desc=true&perPage=50

This returns the 50 most recent purchases in descending order. However, I have preorders and purchases in this database; when I try to filter for the purchases, the result returned is sorted by ID ascending, and the order parameter is ignored:

https://api.ninoxdb.de/v1/teams/[team]/databases/[database]/tables/A/records/?order=Created&desc=true&perPage=50&filters=%7B%22fields%22:%7B%22Status%22:%22Kauf%22%7D%7D

Is this a known bug, and if so, is there a workaround available?

Matt

Reply

null