🔧(backend) bump maximum page size to 200
The new UI with infinite scroll calls for longer pages which we are able to produce thanks to the many optimizations on the list view.
This commit is contained in:
committed by
Anthony LC
parent
239342fbbd
commit
8c247c8777
@@ -24,6 +24,10 @@ and this project adheres to
|
||||
- 💄(frontend) add abilities on doc row #581
|
||||
- 💄(frontend) improve DocsGridItem responsive padding #582
|
||||
|
||||
## Changed
|
||||
|
||||
- 🔧(backend) Bump page size to 200 #516
|
||||
|
||||
## Removed
|
||||
|
||||
- 🔥(backend) remove "content" field from list serializer # 516
|
||||
|
||||
@@ -133,7 +133,7 @@ class Pagination(drf.pagination.PageNumberPagination):
|
||||
"""Pagination to display no more than 100 objects per page sorted by creation date."""
|
||||
|
||||
ordering = "-created_on"
|
||||
max_page_size = 100
|
||||
max_page_size = 200
|
||||
page_size_query_param = "page_size"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user