On 21/11/16 14:17, Andrew Donnellan wrote:
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.

Stephen, any thoughts on this?

--
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com  IBM Australia Limited

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to