NotificationQuery: Provide case-insensitive filter column `host'
refs #8613
This commit is contained in:
parent
644a386bf8
commit
3653ec810a
|
@ -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'
|
||||
),
|
||||
|
|
|
@ -34,4 +34,9 @@ class Notification extends DataView
|
|||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array('host');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue