PreferenceForm: Enforce page size limit being 25 or higher

This commit is contained in:
Johannes Meyer 2020-11-16 13:29:18 +01:00
parent c1bb17709a
commit 774ad831c0
1 changed files with 2 additions and 0 deletions

View File

@ -289,6 +289,8 @@ class PreferenceForm extends Form
array(
'label' => $this->translate('Default page size'),
'description' => $this->translate('Default number of items per page for list views'),
'placeholder' => 25,
'min' => 25,
'step' => 1
)
);