mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
IcingaServiceTable: do not show zones
This commit is contained in:
parent
0d8746624b
commit
1159a64236
@ -15,7 +15,6 @@ class IcingaServiceTable extends QuickTable
|
|||||||
return array(
|
return array(
|
||||||
'id' => 's.id',
|
'id' => 's.id',
|
||||||
'service' => 's.object_name',
|
'service' => 's.object_name',
|
||||||
'zone' => 'z.object_name',
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,7 +28,6 @@ class IcingaServiceTable extends QuickTable
|
|||||||
$view = $this->view();
|
$view = $this->view();
|
||||||
return array(
|
return array(
|
||||||
'service' => $view->translate('Servicename'),
|
'service' => $view->translate('Servicename'),
|
||||||
'zone' => $view->translate('Zone'),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,10 +37,6 @@ class IcingaServiceTable extends QuickTable
|
|||||||
$query = $db->select()->from(
|
$query = $db->select()->from(
|
||||||
array('s' => 'icinga_service'),
|
array('s' => 'icinga_service'),
|
||||||
array()
|
array()
|
||||||
)->joinLeft(
|
|
||||||
array('z' => 'icinga_zone'),
|
|
||||||
's.zone_id = z.id',
|
|
||||||
array()
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user