ImportrunController: cleanup

This commit is contained in:
Thomas Gelf 2016-06-26 16:30:12 +02:00
parent 6cf7c8739f
commit 1915e4c42b
1 changed files with 7 additions and 5 deletions

View File

@ -8,15 +8,17 @@ class ImportrunController extends ActionController
{
public function indexAction()
{
$id = $this->getRequest()->getUrl()->getParams()->shift('id');
$this->view->title = $this->translate('Import run');
$table = $this->loadTable('importedrows')
$table = $this
->loadTable('importedrows')
->setConnection($this->db())
->setChecksum(
$this->db()->getImportrunRowsetChecksum($this->params->get('id'))
$this->db()->getImportrunRowsetChecksum($id)
);
$this->view->table = $this->applyPaginationLimits($table);
//$this->view->table->enforceFilter('id', $this->params->shift('id'));
// $this->view->filterEditor = $table->getFilterEditor($this->getRequest());
$this->render('list/table', null, true);
$this->view->filterEditor = $table->getFilterEditor($this->getRequest());
$this->setViewScript('list/table');
}
}