From 11ffedd6f272e3d975b1ed9f19e1511d16d83ed4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 28 Aug 2015 23:56:25 +0200 Subject: [PATCH] ImportrunController: fix pagination --- application/controllers/ImportrunController.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/application/controllers/ImportrunController.php b/application/controllers/ImportrunController.php index 4aa418e2..057198cc 100644 --- a/application/controllers/ImportrunController.php +++ b/application/controllers/ImportrunController.php @@ -13,13 +13,13 @@ class Director_ImportrunController extends ActionController public function indexAction() { $this->view->title = $this->translate('Import run'); - $this->view->table = $this->applyPaginationLimits( - $this->loadTable('importedrows') - ->setChecksum( - $this->db()->getImportrunRowsetChecksum($this->params->get('id')) - ) - ->setConnection($this->db()) - ); + $table = $this->loadTable('importedrows') + ->setConnection($this->db()) + ->setChecksum( + $this->db()->getImportrunRowsetChecksum($this->params->get('id')) + ); + $this->view->table = $this->applyPaginationLimits($table); + $this->view->filterEditor = $table->getFilterEditor($this->getRequest()); $this->render('list/table', null, true); } }