Skip to content

Commit

Permalink
[framework] fixed rendering main blog category in blog article assign…
Browse files Browse the repository at this point in the history
… to category tree (#3684)
  • Loading branch information
vitek-rostislav authored Dec 20, 2024
2 parents a71ad58 + 9839435 commit 995e723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Blog/Category/BlogCategoryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getAllBlogCategoriesOfCollapsedTree(array $selectedBlogCategorie
->select('bc, bcd, bct')
->join('bc.domains', 'bcd')
->join('bc.translations', 'bct')
->where('bc.parent IN (:openedParentIds)')
->where('bc.parent IN (:openedParentIds) OR bc.parent IS NULL')
->setParameter('openedParentIds', $openedParentIds)
->getQuery()
->getResult();
Expand Down

0 comments on commit 995e723

Please sign in to comment.