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);