From 71aea19143f0f3f81bc0095d744b9f78478607c0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 27 Apr 2019 18:45:17 +0200 Subject: [PATCH] Fix pages in view --- Theme/Backend/stock-list.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/stock-list.tpl.php b/Theme/Backend/stock-list.tpl.php index 8a8c15d..59a4420 100644 --- a/Theme/Backend/stock-list.tpl.php +++ b/Theme/Backend/stock-list.tpl.php @@ -17,7 +17,7 @@ $footerView = new \phpOMS\Views\PaginationView($this->app, $this->request, $this->response); $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); -$footerView->setPages(1 / 25); +$footerView->setPages(25); $footerView->setPage(1); $footerView->setResults(1);