On Tue, 2019-10-15 at 17:30 -0400, Jeremy Cline wrote:
> By default, the events API orders events by date in descending order
> (newest first). However, it's useful to be able to order the events by
> oldest events first. For example, when a client is polling the events
> API for new events since a given date and wishes to process them in
> chronological order.
> 
> Signed-off-by: Jeremy Cline <jcl...@redhat.com>

I've gone ahead and applied this. It was possible to ignore the 'order'
key by subclassing 'rest_framework.filters.OrderingFilter' but that
change invovled way more boilerplate than I was comfortable with.
Thanks for the change and sorry it took so long to merge.

Stephen

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

Reply via email to