mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
HostgroupController: Keep addControl() calls together
This commit is contained in:
parent
47d1fbc4ac
commit
d799b3b651
1 changed files with 1 additions and 2 deletions
|
|
@ -41,8 +41,6 @@ class HostgroupController extends Controller
|
|||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->addControl((new HostgroupList([$this->hostgroup])));
|
||||
|
||||
$db = $this->getDb();
|
||||
|
||||
$hosts = Host::on($db)->with('state');
|
||||
|
|
@ -63,6 +61,7 @@ class HostgroupController extends Controller
|
|||
|
||||
yield $this->export($hosts);
|
||||
|
||||
$this->addControl((new HostgroupList([$this->hostgroup])));
|
||||
$this->addControl($paginationControl);
|
||||
$this->addControl($viewModeSwitcher);
|
||||
$this->addControl($limitControl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue