Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coreshop/CoreShop
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Apr 11, 2018
2 parents 8b2ca87 + f73029a commit fd371ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ protected function addUserSpecificConditions(QueryBuilder $queryBuilder, $exclud
if ($fieldName !== $excludedFieldName && is_array($condArray)) {
foreach ($condArray as $cond) {
$cond = $this->worker->renderCondition($cond, 'q');
$queryBuilder->andWhere('q.o_id IN (SELECT DISTINCT src FROM ' . $relationalTableName . ' WHERE ' . $cond . ')');
$queryBuilder->andWhere('q.o_id IN (SELECT DISTINCT src FROM ' . $relationalTableName . ' q WHERE ' . $cond . ')');
}
}
}
Expand Down

0 comments on commit fd371ac

Please sign in to comment.