Skip to content

Commit

Permalink
Fix url path refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Jan 23, 2024
1 parent 7faaf56 commit 2321eaf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Model/Catalog/Layer/Url/Strategy/PathSlugStrategy.php
Expand Up @@ -549,9 +549,8 @@ public function getCategoryFilterSelectUrl(
the currently selected filters.
*/
$filterSlugPath = $this->buildFilterSlugPath($this->getActiveFilters());
if (!empty($filterSlugPath)) {
$url.= '/' . trim($filterSlugPath, '/');
}

$url.= '/' . trim($filterSlugPath, '/');

/*
We explode the url so that we can capture its parts and find the double values in order to remove them.
Expand Down

0 comments on commit 2321eaf

Please sign in to comment.