Skip to content

Commit d42040d

Browse files
Add grouping by Monitor. Apparently mysql is complaining about not having it now.
1 parent 0128cd1 commit d42040d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/ajax/events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function queryRequest($filter, $search, $advsearch, $sort, $offset, $order, $lim
223223
LEFT JOIN Events_Tags AS ET ON E.Id = ET.EventId
224224
LEFT JOIN Tags AS T ON T.Id = ET.TagId
225225
'.$where.'
226-
GROUP BY E.Id
226+
GROUP BY E.Id, Monitor
227227
'.($sort?' ORDER BY '.$sort.' '.$order:'');
228228

229229
if ((int)($filter->limit()) and !$has_post_sql_conditions) {

0 commit comments

Comments
 (0)