IcingaService: make use of fields
This commit is contained in:
parent
caa3f97048
commit
b265f48a89
|
@ -377,7 +377,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||
array('f' => $this->getTableName() . '_field'),
|
||||
'df.id = f.datafield_id',
|
||||
array()
|
||||
)->where('f.host_id = ?', (int) $this->id)
|
||||
)->where('f.' . $this->getShortTableName() . '_id = ?', (int) $this->id)
|
||||
->order('df.caption ASC');
|
||||
|
||||
$res = $db->fetchAll($query);
|
||||
|
|
|
@ -38,6 +38,8 @@ class IcingaService extends IcingaObject
|
|||
|
||||
protected $supportsCustomVars = true;
|
||||
|
||||
protected $supportsFields = true;
|
||||
|
||||
protected $supportsImports = true;
|
||||
|
||||
protected function renderCheck_command_id()
|
||||
|
|
Loading…
Reference in New Issue