🔧(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:
Samuel Paccoud - DINUM
2025-01-17 17:15:17 +01:00
committed by Anthony LC
parent 239342fbbd
commit 8c247c8777
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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"