Created
November 20, 2020 09:46
-
-
Save pilif/885cf10e05bcd3ce6f8aa827239a524c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/catalog/tag_node.php b/lib/catalog/tag_node.php | |
index 2054e5faf1..6fc9cc182e 100644 | |
--- a/lib/catalog/tag_node.php | |
+++ b/lib/catalog/tag_node.php | |
@@ -320,7 +320,7 @@ class TagNode extends RootParentedVirtualNode | |
/** @psalm-suppress PossiblyUnusedParam */ | |
public function getProductFinderConstraints(bool $cascade): ?array | |
{ | |
- return [$this->tag['tag_name'] => true, 'vendor' => $this->getVendor()->getId()]; | |
+ return array_merge($this->getVendor()->getTagNodeConstraints(), ['vendor' => $this->getVendor()->getId()]); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment