ImportrunController: fix pagination

This commit is contained in:
Thomas Gelf 2015-08-28 23:56:25 +02:00
parent 0b4bb9979b
commit 11ffedd6f2
1 changed files with 7 additions and 7 deletions

View File

@ -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);
}
}