Fix ServicegroupSummary import

This commit is contained in:
Eric Lippmann 2019-11-05 09:22:58 +01:00
parent 64ccdedd06
commit bc17cd38d6
2 changed files with 5 additions and 5 deletions

View file

@ -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),

View file

@ -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);