mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
WIP: List at most 25 hosts
Subject to remove once we have a paginator.
This commit is contained in:
parent
24c60995d9
commit
53a871695b
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class HostsController extends Controller
|
|||
$db = $this->getDb();
|
||||
|
||||
$hosts = Host::on($db)->with('state');
|
||||
$hosts->limit(25);
|
||||
|
||||
$hostList = new HostList($hosts);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue