CursorPagination prevent to use default instance ordering attribute value if an ordering filter exist #8953
-
The problem is that if we have have a viewset defining an ordering filter like
My assumption is that we should reverse the logic and take first the value from Here is what I would propose:
Unless I completely missed something obvious, I'd appreciate to have your opinion/feedback on this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
we recently got a contribution in that area b1cec51 . can you check that the thing you are suggesting is still needed, and if so verify the changes with appropriate test cases? |
Beta Was this translation helpful? Give feedback.
Thanks for your answer, and yes the commit you mentioned doesn't fix what I raised.
I'll push a change with appropriate test cases.