django-cursor-pagination icon indicating copy to clipboard operation
django-cursor-pagination copied to clipboard

Fails to handle multliple ordering fields properly

Open mjtamlyn opened this issue 9 years ago • 1 comments

We need to ensure that only the last field is __lt or __gt, the previous ones should be __lte.

As an example, order on ('a', 'b'), page at 2.

Data:

 a | b 
 1 | 2
 1 | 3
 1 | 4
 2 | 1

"second" page will return only the last element.

mjtamlyn avatar Jun 01 '16 12:06 mjtamlyn

Can this issue be closed?

danpalmer avatar Jun 13 '18 09:06 danpalmer