mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
Merge pull request #1863 from friesoft/master
Sort list of applied services by object_name
This commit is contained in:
commit
c3ca6408f1
@ -193,7 +193,8 @@ class IcingaHostAppliedServicesTable extends SimpleQueryBasedTable
|
|||||||
['hsb' => 'icinga_host_service_blacklist'],
|
['hsb' => 'icinga_host_service_blacklist'],
|
||||||
$db->quoteInto('s.id = hsb.service_id AND hsb.host_id = ?', $this->host->get('id')),
|
$db->quoteInto('s.id = hsb.service_id AND hsb.host_id = ?', $this->host->get('id')),
|
||||||
[]
|
[]
|
||||||
)->where('object_type = ? AND assign_filter IS NOT NULL', 'apply');
|
)->where('object_type = ? AND assign_filter IS NOT NULL', 'apply')
|
||||||
|
->order('s.object_name');
|
||||||
|
|
||||||
return $db->fetchAll($query);
|
return $db->fetchAll($query);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user