From 1d1ba59ae2facc270338ec547124bbf9d796c89f Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 22 May 2023 20:52:54 -0700 Subject: [PATCH] clusters: fix query name Signed-off-by: Varun Patil --- lib/ClustersBackend/AlbumsBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ClustersBackend/AlbumsBackend.php b/lib/ClustersBackend/AlbumsBackend.php index 6f8c3226..90e6cecb 100644 --- a/lib/ClustersBackend/AlbumsBackend.php +++ b/lib/ClustersBackend/AlbumsBackend.php @@ -67,7 +67,7 @@ class AlbumsBackend extends Backend public function transformDayQuery(&$query, bool $aggregate): void { - $albumId = (string) $this->request->getParam('albums'); + $albumId = (string) $this->request->getParam(self::clusterType()); // Get album object $album = $this->albumsQuery->getIfAllowed($this->getUID(), $albumId);