Merge pull request #1863 from friesoft/master

Sort list of applied services by object_name
This commit is contained in:
Thomas Gelf 2019-05-06 21:08:41 +02:00 committed by GitHub
commit c3ca6408f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}