On 21/11/16 11:39, Russell Currey wrote:
Do you know if there's a way to get a reverse ordering of entries in the REST
API?  For example in the patches API each "page" has 30 entries, and you can get
the latest page with ?page=last - but this isn't as nice as a reverse ordering
of ids or dates.  Do you know if there's a way to do this at present, or is that
something that could be made available with filters?

I'd be kinda tempted to consider using cursor pagination for this, which Django REST Framework supports.

That's not a filter-related thing though.

--
Andrew Donnellan              OzLabs, ADL Canberra
[email protected]  IBM Australia Limited

_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to