Skip to content

Commit 81bd357

Browse files
author
Christian Fasching
committed
fixed #162 - Adding localizedfield in Customer object will mess up Customer Search (a.k.a List) filter functionality.
1 parent 67fdbf4 commit 81bd357

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/CustomerList/Filter/CustomerSegment.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,8 @@ protected function addJoin(
223223

224224
// relation matches one of our field names and relates to our current object
225225
$baseCondition = sprintf(
226-
'`%1$s`.fieldname IN (%3$s) AND `%1$s`.src_id = `%2$s`.o_id',
226+
'`%1$s`.fieldname IN (%2$s) AND `%1$s`.src_id = o_id',
227227
$joinName,
228-
$tableName,
229228
$relationNames
230229
);
231230

0 commit comments

Comments
 (0)