Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dbchiro
dbchiroweb
Commits
f5643d7d
Commit
f5643d7d
authored
Mar 16, 2021
by
hypsug0
Browse files
Test with page limit to 5000 (fix max_page_size)
parent
d48b857b
Changes
3
Hide whitespace changes
Inline
Side-by-side
sights/mixins.py
View file @
f5643d7d
...
...
@@ -482,7 +482,7 @@ class CountDetailEditAuthMixin:
class
LargeGeoJsonPageNumberPagination
(
GeoJsonPagination
):
page_size
=
100
page_size_query_param
=
"page_size"
max_page_size
=
1
000
max_page_size
=
5
000
class
PlaceFilteringMixin
:
...
...
templates/sights/place_search.html
View file @
f5643d7d
...
...
@@ -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=
"100
0
"
max=
"5000"
step=
"1000"
placeholder=
"Nombre de données"
>
</div>
</div>
...
...
templates/sights/sighting_search.html
View file @
f5643d7d
...
...
@@ -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=
"100
0
"
max=
"5000"
step=
"1000"
placeholder=
"Nombre de données"
>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment