mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
Sort list of applied services by object_name (#1862)
This commit is contained in:
parent
644853f7a0
commit
08266a4b92
@ -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