monitoring: Make display_name columns case insensitive
The display_name columns should be case insenstive because we now support them when searching. refs #8241
This commit is contained in:
parent
ad5ab16b3f
commit
0c72686ba1
|
@ -11,7 +11,7 @@ class HoststatusQuery extends IdoQuery
|
|||
'hosts' => array(
|
||||
'host' => 'ho.name1 COLLATE latin1_general_ci',
|
||||
'host_name' => 'ho.name1 COLLATE latin1_general_ci',
|
||||
'host_display_name' => 'h.display_name',
|
||||
'host_display_name' => 'h.display_name COLLATE latin1_general_ci',
|
||||
'host_alias' => 'h.alias',
|
||||
'host_address' => 'h.address',
|
||||
'host_ipv4' => 'INET_ATON(h.address)',
|
||||
|
|
|
@ -36,7 +36,7 @@ class StatusQuery extends IdoQuery
|
|||
'hosts' => array(
|
||||
'host' => 'ho.name1 COLLATE latin1_general_ci',
|
||||
'host_name' => 'ho.name1',
|
||||
'host_display_name' => 'h.display_name',
|
||||
'host_display_name' => 'h.display_name COLLATE latin1_general_ci',
|
||||
'host_alias' => 'h.alias',
|
||||
'host_address' => 'h.address',
|
||||
'host_ipv4' => 'INET_ATON(h.address)',
|
||||
|
@ -174,7 +174,7 @@ class StatusQuery extends IdoQuery
|
|||
'service_host_name' => 'so.name1',
|
||||
'service' => 'so.name2 COLLATE latin1_general_ci',
|
||||
'service_description' => 'so.name2',
|
||||
'service_display_name' => 's.display_name',
|
||||
'service_display_name' => 's.display_name COLLATE latin1_general_ci',
|
||||
'service_icon_image' => 's.icon_image',
|
||||
'service_action_url' => 's.action_url',
|
||||
'service_notes_url' => 's.notes_url',
|
||||
|
|
Loading…
Reference in New Issue