NotificationQuery: Provide case-insensitive filter column `host'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-13 15:32:52 +02:00
parent 644a386bf8
commit 3653ec810a
2 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class NotificationQuery extends IdoQuery
'notification_object_id' => 'n.object_id'
),
'objects' => array(
'host' => 'o.name1 COLLATE latin1_general_ci',
'host_name' => 'o.name1',
'service_description' => 'o.name2'
),

View File

@ -34,4 +34,9 @@ class Notification extends DataView
)
);
}
public function getFilterColumns()
{
return array('host');
}
}