* set default rpp for overview tables from 5 to 10 * improves loading speed of parcel table
25 lines
481 B
Python
25 lines
481 B
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
Created on: 31.01.22
|
|
|
|
"""
|
|
|
|
# Tables
|
|
RESULTS_PER_PAGE_PARAM = "rpp"
|
|
PAGE_PARAM = "page"
|
|
PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 50, 100]
|
|
PAGE_SIZE_OPTIONS_TUPLES = [
|
|
(5, 5),
|
|
(10, 10),
|
|
(15, 15),
|
|
(20, 20),
|
|
(25, 25),
|
|
(50, 50),
|
|
(100, 100),
|
|
]
|
|
PAGE_SIZE_DEFAULT = 10
|
|
PAGE_SIZE_MAX = 100
|
|
PAGE_DEFAULT = 1
|