Skip to content

Commit

Permalink
[framework] fixed query wrongly loading flags from Product instead of…
Browse files Browse the repository at this point in the history
… ProductDomain (#3310)

Co-authored-by: Milan Staňo <milan.stano@shopsys.com>
  • Loading branch information
stanoMilan and msshopsys committed Aug 26, 2024
1 parent 24c7d48 commit f249c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Product/Filter/FlagFilterChoiceRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function getVisibleFlagsByProductsQueryBuilder(QueryBuilder $productsQ

$clonedProductsQueryBuilder
->select('1')
->join('p.flags', 'pf')
->join('pd.flags', 'pf')
->andWhere('pf.id = f.id')
->andWhere('f.visible = true')
->resetDQLPart('orderBy');
Expand Down

0 comments on commit f249c63

Please sign in to comment.