ImportrunController: fix pagination
This commit is contained in:
parent
0b4bb9979b
commit
11ffedd6f2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue