From 7a9237bbe386378c54a2cb14950b919837885461 Mon Sep 17 00:00:00 2001 From: schapron Date: Wed, 6 Nov 2019 11:37:50 +0100 Subject: [PATCH] enh(BE): replace LIKE with equal --- www/include/monitoring/status/Services/xml/serviceXML.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/include/monitoring/status/Services/xml/serviceXML.php b/www/include/monitoring/status/Services/xml/serviceXML.php index e8636f788dc..ca2ccf7a5cd 100644 --- a/www/include/monitoring/status/Services/xml/serviceXML.php +++ b/www/include/monitoring/status/Services/xml/serviceXML.php @@ -261,8 +261,7 @@ // ServiceGroup Filter if (isset($servicegroups) && $servicegroups != 0) { $request .= " AND ssg.servicegroup_id = sg.servicegroup_id - AND ssg.service_id = s.service_id AND ssg.servicegroup_id IN (:serviceGroup) "; - // only one value is returned from the current "select" filter + AND ssg.service_id = s.service_id AND ssg.servicegroup_id IN = :serviceGroup "; $queryValues['serviceGroup'] = [\PDO::PARAM_INT => $servicegroups]; }