Skip to content

Commit

Permalink
Fix parent category (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Feb 21, 2024
1 parent 2f2d8bc commit 2415de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Catalog/Layer/Filter/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getUrl()
return $this->url->getSliderUrl($this);
}

if ($this->isSelected() && $settings->getSelectionType() !== SettingsType::SOURCE_CATEGORY) {
if ($this->isSelected() && ($settings->getSource() !== SettingsType::SOURCE_CATEGORY)) {
return $this->url->getRemoveFilter($this);
}

Expand Down

0 comments on commit 2415de1

Please sign in to comment.