diff --git a/Classes/Controller/CollectionController.php b/Classes/Controller/CollectionController.php index 890e75f5c0..761093c5da 100644 --- a/Classes/Controller/CollectionController.php +++ b/Classes/Controller/CollectionController.php @@ -135,7 +135,7 @@ public function showAction(Collection $collection): void $currentPage = 1; } - $searchParams['collection'] = $collection; + $searchParams['collection'] = $collection->getUid(); // If a targetPid is given, the results will be shown by ListView on the target page. if (!empty($this->settings['targetPid'])) { $this->redirect('main', 'ListView', null,