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
2 people authored and TomasLudvik committed Aug 27, 2024
1 parent 4cf3d97 commit dc4e1f5
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 dc4e1f5

Please sign in to comment.