mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Fix ServicegroupSummary import
This commit is contained in:
parent
64ccdedd06
commit
bc17cd38d6
2 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ namespace Icinga\Module\Icingadb\Controllers;
|
|||
use Icinga\Data\Filter\FilterExpression;
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Icingadb\Model\ServicegroupSummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ServiceList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList;
|
||||
|
|
@ -13,7 +13,7 @@ use ipl\Orm\Compat\FilterProcessor;
|
|||
|
||||
class ServicegroupController extends Controller
|
||||
{
|
||||
/** @var Servicegroupsummary The service group object */
|
||||
/** @var ServicegroupSummary The service group object */
|
||||
protected $servicegroup;
|
||||
|
||||
public function init()
|
||||
|
|
@ -22,7 +22,7 @@ class ServicegroupController extends Controller
|
|||
|
||||
$name = $this->params->shiftRequired('name');
|
||||
|
||||
$query = Servicegroupsummary::on($this->getDb());
|
||||
$query = ServicegroupSummary::on($this->getDb());
|
||||
|
||||
FilterProcessor::apply(
|
||||
new FilterExpression('servicegroup.name', '=', $name),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Icingadb\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Icingadb\Model\ServicegroupSummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList;
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ class ServicegroupsController extends Controller
|
|||
|
||||
$db = $this->getDb();
|
||||
|
||||
$servicegroups = Servicegroupsummary::on($db);
|
||||
$servicegroups = ServicegroupSummary::on($db);
|
||||
|
||||
$limitControl = $this->createLimitControl();
|
||||
$paginationControl = $this->createPaginationControl($servicegroups);
|
||||
|
|
|
|||
Loading…
Reference in a new issue