diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:30:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:30:22 +0000 |
commit | 3094c54084a305de471e7a530468a5a3b3b34dc7 (patch) | |
tree | 0a5f62e9d1963d4f5715acefc2c8e6dad932eaaa /vendor/ipl/web/src/Control/LimitControl.php | |
parent | Adding debian version 0.13.1-1. (diff) | |
download | icinga-php-library-3094c54084a305de471e7a530468a5a3b3b34dc7.tar.xz icinga-php-library-3094c54084a305de471e7a530468a5a3b3b34dc7.zip |
Merging upstream version 0.13.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/ipl/web/src/Control/LimitControl.php')
-rw-r--r-- | vendor/ipl/web/src/Control/LimitControl.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/ipl/web/src/Control/LimitControl.php b/vendor/ipl/web/src/Control/LimitControl.php index b390a0a..376d6be 100644 --- a/vendor/ipl/web/src/Control/LimitControl.php +++ b/vendor/ipl/web/src/Control/LimitControl.php @@ -119,5 +119,11 @@ class LimitControl extends CompatForm 'title' => t('Change item count per page'), 'value' => $limit ]); + + if ($this->url->hasParam(PaginationControl::DEFAULT_PAGE_PARAM)) { + $this->addElement('hidden', PaginationControl::DEFAULT_PAGE_PARAM, [ + 'value' => 1 + ]); + } } } |