Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(UI): Include host_id when selecting ServiceGroups on dashreports (#…
Browse files Browse the repository at this point in the history
…11428) (#11519)

Co-authored-by: VHS <listas.vhs@gmail.com>

Co-authored-by: VHS <listas.vhs@gmail.com>
  • Loading branch information
emabassi-ext and vhsantos authored Aug 5, 2022
1 parent 8caceb8 commit 5de9f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/reporting/dashboard/DB-Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function getServicesLogs(array $services, $startDate, $endDate, $reportTimePerio
. $aclCondition . " "
. $servicesSubquery . " "
. "AND DATE_FORMAT(FROM_UNIXTIME(date_start), '%W') IN (" . $daysOfWeek . ") "
. "GROUP BY las.service_id";
. "GROUP BY las.host_id, las.service_id";
$statement = $pearDBO->prepare($rq);

foreach ($bindValues as $bindName => $bindParams) {
Expand Down

0 comments on commit 5de9f39

Please sign in to comment.