Skip to content

Commit

Permalink
Fixed compatibility issue with SW < 6.3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Klein committed Feb 9, 2021
1 parent 7c89b32 commit de97f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CHANGELOG for Shopware PWA
===================

### Unreleased
### 0.2.1

**Added**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private function getCanonicalUrls(array $categoryIds, SalesChannelContext $conte
$criteria->addFilter(new EqualsFilter('routeName', PageController::NAVIGATION_PAGE_ROUTE));
$criteria->addFilter(new EqualsFilter('isCanonical', true));
$criteria->addFilter(new EqualsAnyFilter('foreignKey', $categoryIds));
$criteria->addFilter(new EqualsFilter('salesChannelId', $context->getSalesChannelId()));
$criteria->addFilter(new EqualsFilter('salesChannelId', $context->getSalesChannel()->getId()));
$criteria->addFilter(new EqualsFilter('languageId', $context->getContext()->getLanguageId()));

$result = $this->seoUrlRepository->search($criteria, $context->getContext());
Expand Down

0 comments on commit de97f27

Please sign in to comment.