From 5f37739227e098c50d152047c6bb09d23e336000 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 20 Nov 2014 14:26:24 +0100 Subject: [PATCH] Fix that selecting a x-axis link in the service grid produces an invalid filter I've just fixed this quick and dirty as implementing the complete x IN y syntax requires too much effort as currently available. refs #7169 --- .../application/views/scripts/list/servicegrid.phtml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/servicegrid.phtml b/modules/monitoring/application/views/scripts/list/servicegrid.phtml index 2bbfb343f..19aef5d64 100644 --- a/modules/monitoring/application/views/scripts/list/servicegrid.phtml +++ b/modules/monitoring/application/views/scripts/list/servicegrid.phtml @@ -11,7 +11,7 @@ pivot->toArray(); -$hostFilter = '(' . implode('|', array_keys($pivotData)) . ')'; +$hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ')'; ?> @@ -37,10 +37,9 @@ $hostFilter = '(' . implode('|', array_keys($pivotData)) . ')'; + ) . '&' . $hostFilter; ?>"> 18 ? substr($service_description, 0, 18) . '...' : $service_description; ?>