Skip to content

Commit ac18010

Browse files
authored
Merge pull request #147 from kpitn/feat-improve-customer-selection
Improve customer selection with website scope
2 parents f409bbb + e04a55b commit ac18010

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Model/Customer/SourceProvider/IdleFilterModifier.php

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function apply(AbstractDb $collection, WebsiteInterface $website): void
3838
'e.entity_id=cv.customer_id',
3939
null
4040
);
41+
$collection->addFieldToFilter('website_id', $website->getId());
4142
$collection->getSelect()->joinLeft(
4243
['cl' => $connection->getTableName('customer_log')],
4344
'e.entity_id=cl.customer_id',

0 commit comments

Comments
 (0)