mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImportrunController: cleanup
This commit is contained in:
parent
6cf7c8739f
commit
1915e4c42b
@ -8,15 +8,17 @@ class ImportrunController extends ActionController
|
|||||||
{
|
{
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
|
$id = $this->getRequest()->getUrl()->getParams()->shift('id');
|
||||||
$this->view->title = $this->translate('Import run');
|
$this->view->title = $this->translate('Import run');
|
||||||
$table = $this->loadTable('importedrows')
|
$table = $this
|
||||||
|
->loadTable('importedrows')
|
||||||
->setConnection($this->db())
|
->setConnection($this->db())
|
||||||
->setChecksum(
|
->setChecksum(
|
||||||
$this->db()->getImportrunRowsetChecksum($this->params->get('id'))
|
$this->db()->getImportrunRowsetChecksum($id)
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->view->table = $this->applyPaginationLimits($table);
|
$this->view->table = $this->applyPaginationLimits($table);
|
||||||
//$this->view->table->enforceFilter('id', $this->params->shift('id'));
|
$this->view->filterEditor = $table->getFilterEditor($this->getRequest());
|
||||||
// $this->view->filterEditor = $table->getFilterEditor($this->getRequest());
|
$this->setViewScript('list/table');
|
||||||
$this->render('list/table', null, true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user