mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Reverted cursor pagination for /roles/
Turns out it doesn't play well with our custom filters, and performance is still tolerable with the normal pagination..
This commit is contained in:
parent
d0e9044dad
commit
30ed9ab740
@ -3480,9 +3480,6 @@ class RoleList(ListAPIView):
|
||||
model = Role
|
||||
serializer_class = RoleSerializer
|
||||
permission_classes = (IsAuthenticated,)
|
||||
class CursorPaginationById(CursorPagination):
|
||||
ordering = 'id'
|
||||
pagination_class = CursorPaginationById
|
||||
new_in_300 = True
|
||||
|
||||
def get_queryset(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user