Skip to content

Commit

Permalink
Fix wrong join condition on keyword_product_loop. Fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Espeche committed May 22, 2015
1 parent 2521e24 commit eef9ff7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<descriptive locale="en_US">
<title>Keyword</title>
</descriptive>
<version>2.4.4</version>
<version>2.4.5</version>
<author>
<name>Michaël Espeche</name>
<email>[email protected]</email>
Expand Down
4 changes: 2 additions & 2 deletions Loop/KeywordProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public function buildModelCriteria()

$search->addJoinObject($join, 'product_associated_keyword_join');
$search->addJoinCondition(
'category_associated_keyword_join',
'category_associated_keyword.keyword_id IN (' . $keywordListId . ')'
'product_associated_keyword_join',
'product_associated_keyword.keyword_id IN (' . $keywordListId . ')'
);
$search->addJoinCondition(
'product_associated_keyword_join',
Expand Down

0 comments on commit eef9ff7

Please sign in to comment.