Skip to content

Commit

Permalink
fixing a problem with the pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
Dracks committed Nov 16, 2023
1 parent bd04566 commit 8f865c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/finances/core/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RdsPagination(CustomCursorPagination):
page_size = 20
page_size_query_param = 'page_size'
max_page_size = 10000
ordering = '-date'
ordering = ('-page_key')


class RawDataSourceViewSet(viewsets.ReadOnlyModelViewSet, viewsets.mixins.CreateModelMixin):
Expand Down

0 comments on commit 8f865c2

Please sign in to comment.