Commit f5643d7d authored by hypsug0's avatar hypsug0
Browse files

Test with page limit to 5000 (fix max_page_size)

parent d48b857b
......@@ -482,7 +482,7 @@ class CountDetailEditAuthMixin:
class LargeGeoJsonPageNumberPagination(GeoJsonPagination):
page_size = 100
page_size_query_param = "page_size"
max_page_size = 1000
max_page_size = 5000
class PlaceFilteringMixin:
......
......@@ -95,7 +95,7 @@
<div class="form-group form-group-sm mr-2">
<label for="page_size">Nombre de donnnées à afficher</label>
<input class="form-control form-control-sm" type="number" id="page_size"
name="page_size" min="100" max="5000" step="1000"
name="page_size" min="1000" max="5000" step="1000"
placeholder="Nombre de données">
</div>
</div>
......
......@@ -151,7 +151,7 @@
<div class="form-group form-group-sm mr-2">
<label for="page_size">Nombre de donnnées à afficher</label>
<input class="form-control form-control-sm" type="number" id="page_size"
name="page_size" min="100" max="5000" step="1000"
name="page_size" min="1000" max="5000" step="1000"
placeholder="Nombre de données">
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment