mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Set the minimum value to 50 and maximum value to 2000 for the items per page in the result grid
This commit is contained in:
parent
f1eca516f0
commit
c04b729c1d
@ -73,9 +73,10 @@ class SqlEditorModule(PgAdminModule):
|
||||
'display', 'items_per_page',
|
||||
gettext("Items per page in grid"), 'integer', 50,
|
||||
category_label=gettext('Display'),
|
||||
min_val=0,
|
||||
min_val=50,
|
||||
max_val=2000,
|
||||
help_str=gettext('The number of rows to display per page in the results grid. '
|
||||
'A value of 0 will disable paging.')
|
||||
'Value should be between 50 and 2000.')
|
||||
)
|
||||
|
||||
self.explain_verbose = self.preference.register(
|
||||
|
Loading…
Reference in New Issue
Block a user