From 6ac62486ea83551146b2eaed149191672556152b Mon Sep 17 00:00:00 2001 From: Roland Dalmulder Date: Sat, 10 Oct 2020 11:30:52 +0200 Subject: [PATCH] Fixed the items per page not being used Fixes #296 Signed-off-by: Roland Dalmulder --- .../PatchTester/Controller/DisplayController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php b/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php index fdd86a1..3835ff6 100644 --- a/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php +++ b/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php @@ -110,7 +110,7 @@ class DisplayController extends AbstractController $state->set('filter.npm', $app->getUserStateFromRequest($this->context . '.filter.npm', 'filter_npm', '')); // Pre-fill the limits. - $limit = $app->getUserStateFromRequest('global.list.limit', 'limit', $app->get('list_limit', 20), 'uint'); + $limit = $app->getUserStateFromRequest('global.list.limit', 'limit', $app->input->get('list_limit', 20), 'uint'); $state->set('list.limit', $limit); $fullOrdering = $app->getUserStateFromRequest($this->context . '.fullorder', 'list_fullordering', $this->defaultFullOrdering);