NotificationQuery: Provide case-insensitive filter column `contact'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-13 15:33:33 +02:00
parent 29f05bf878
commit 9cc5469305
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ class NotificationQuery extends IdoQuery
'service_description' => 'o.name2'
),
'contact' => array(
'contact' => 'c_o.name1 COLLATE latin1_general_ci',
'notification_contact_name' => 'c_o.name1',
'contact_object_id' => 'c_o.object_id'
),

View File

@ -37,6 +37,6 @@ class Notification extends DataView
public function getFilterColumns()
{
return array('host', 'service');
return array('host', 'service', 'contact');
}
}