We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79bbf4a commit af4db06Copy full SHA for af4db06
Classes/Controller/CollectionController.php
@@ -196,8 +196,8 @@ public function showSortedAction(): ResponseInterface
196
$search = $this->getParametersSafely('search');
197
198
$collection = null;
199
- if (!empty($search['collection']) && $search['collection']['__identity'] && MathUtility::canBeInterpretedAsInteger($search['collection']['__identity'])) {
200
- $collection = $this->collectionRepository->findByUid($search['collection']['__identity']);
+ if (!empty($search['collection']) && MathUtility::canBeInterpretedAsInteger($search['collection'])) {
+ $collection = $this->collectionRepository->findByUid($search['collection']);
201
}
202
203
// output is done by show action
0 commit comments