Sort list of applied services by object_name (#1862)

This commit is contained in:
Bernhard Friedreich 2019-05-06 19:42:24 +02:00
parent 644853f7a0
commit 08266a4b92

View File

@ -193,7 +193,8 @@ class IcingaHostAppliedServicesTable extends SimpleQueryBasedTable
['hsb' => 'icinga_host_service_blacklist'],
$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);
}