Skip to content

Commit eef9ff7

Browse files
author
Michael Espeche
committed
Fix wrong join condition on keyword_product_loop. Fixes #8
1 parent 2521e24 commit eef9ff7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Config/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<descriptive locale="en_US">
88
<title>Keyword</title>
99
</descriptive>
10-
<version>2.4.4</version>
10+
<version>2.4.5</version>
1111
<author>
1212
<name>Michaël Espeche</name>
1313
<email>mespeche@openstudio.fr</email>

Loop/KeywordProduct.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ public function buildModelCriteria()
126126

127127
$search->addJoinObject($join, 'product_associated_keyword_join');
128128
$search->addJoinCondition(
129-
'category_associated_keyword_join',
130-
'category_associated_keyword.keyword_id IN (' . $keywordListId . ')'
129+
'product_associated_keyword_join',
130+
'product_associated_keyword.keyword_id IN (' . $keywordListId . ')'
131131
);
132132
$search->addJoinCondition(
133133
'product_associated_keyword_join',

0 commit comments

Comments
 (0)