From 05b2cd5fe20520b96cea8b7eb30a88e56ede76e1 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Thu, 14 Dec 2023 19:27:10 +0100 Subject: [PATCH] Fix events count; ref #1757 --- lib/GaletteEvents/Repository/Events.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/GaletteEvents/Repository/Events.php b/lib/GaletteEvents/Repository/Events.php index 049e0ef..c42c9c6 100644 --- a/lib/GaletteEvents/Repository/Events.php +++ b/lib/GaletteEvents/Repository/Events.php @@ -343,6 +343,7 @@ private function proceedCount($select) $countSelect->reset($countSelect::COLUMNS); $countSelect->reset($countSelect::ORDER); $countSelect->reset($countSelect::HAVING); + $countSelect->reset($countSelect::GROUP); $joins = $countSelect->joins; $countSelect->reset($countSelect::JOINS); foreach ($joins as $join) {