-
-
Save daviddavis/56a0b86629cd675d57aac61583c01944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pulpcore/pulpcore/app/pagination.py b/pulpcore/pulpcore/app/pagination.py | |
index 0abaadd..e7def94 100644 | |
--- a/pulpcore/pulpcore/app/pagination.py | |
+++ b/pulpcore/pulpcore/app/pagination.py | |
@@ -13,6 +13,7 @@ class UUIDPagination(pagination.CursorPagination): | |
""" | |
ordering = 'id' | |
+ page_size_query_param = 'page_size' | |
class NamePagination(pagination.CursorPagination): | |
@@ -24,3 +25,4 @@ class NamePagination(pagination.CursorPagination): | |
""" | |
ordering = 'name' | |
+ page_size_query_param = 'page_size' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment