From cf6a331fe79b95852260d02165f0336c69f34a47 Mon Sep 17 00:00:00 2001 From: Mae Grace Baybay <87640602+mgbaybay@users.noreply.github.com> Date: Wed, 7 Aug 2024 15:10:36 +0800 Subject: [PATCH] Bandwidth Report: Fixed data error for displays with same name (#2684) --- lib/Report/Bandwidth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Report/Bandwidth.php b/lib/Report/Bandwidth.php index 3fb2bc333f..2d18f37f46 100644 --- a/lib/Report/Bandwidth.php +++ b/lib/Report/Bandwidth.php @@ -255,7 +255,7 @@ public function getResults(SanitizerInterface $sanitizedParams) $params['displayid'] = $displayId; } - $SQL .= 'GROUP BY display.display '; + $SQL .= 'GROUP BY display.displayId, display.display '; if ($displayId != 0) { $SQL .= ' , bandwidthtype.name ';