Skip to content

Commit

Permalink
Merge pull request #102 from beatrycze-volk/fix-collection-search-param
Browse files Browse the repository at this point in the history
[BUGFIX] Pass collections to `collection` search parameter
  • Loading branch information
beatrycze-volk authored Jan 31, 2025
2 parents 6fafc0a + 1ffbc62 commit 0820a30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Controller/SingleCollectionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ public function showAction()
$searchParams['order'] = 'asc';
}

$searchParams['collection'] = $this->settings['collections'];

// Get current page from request data because the parameter is shared between plugins
$currentPage = $this->requestData['page'] ?? 1;

Expand Down

0 comments on commit 0820a30

Please sign in to comment.