Skip to content

Commit

Permalink
Fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
magiccart authored Aug 27, 2022
1 parent 978dc5b commit 05f514e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/Categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getCategories()
$sortAttribute = $this->getSortAttribute();
$categories = $this->categoryFactory->create()->getCollection()
->addAttributeToSelect(['name', 'url_key', 'url_path', 'image','description'])
// ->addAttributeToFilter('parent_id', $categoryId)
->addAttributeToFilter('parent_id', $categoryId)
->addIsActiveFilter();

if($sortAttribute == "position") {
Expand Down

0 comments on commit 05f514e

Please sign in to comment.