PreferenceForm: Enforce page size limit being 25 or higher
This commit is contained in:
parent
c1bb17709a
commit
774ad831c0
|
@ -289,6 +289,8 @@ class PreferenceForm extends Form
|
||||||
array(
|
array(
|
||||||
'label' => $this->translate('Default page size'),
|
'label' => $this->translate('Default page size'),
|
||||||
'description' => $this->translate('Default number of items per page for list views'),
|
'description' => $this->translate('Default number of items per page for list views'),
|
||||||
|
'placeholder' => 25,
|
||||||
|
'min' => 25,
|
||||||
'step' => 1
|
'step' => 1
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue