Skip to content

Commit

Permalink
Merge pull request #147 from kpitn/feat-improve-customer-selection
Browse files Browse the repository at this point in the history
Improve customer selection with website scope
  • Loading branch information
thomas-kl1 authored Aug 20, 2024
2 parents f409bbb + e04a55b commit ac18010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Customer/SourceProvider/IdleFilterModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function apply(AbstractDb $collection, WebsiteInterface $website): void
'e.entity_id=cv.customer_id',
null
);
$collection->addFieldToFilter('website_id', $website->getId());
$collection->getSelect()->joinLeft(
['cl' => $connection->getTableName('customer_log')],
'e.entity_id=cl.customer_id',
Expand Down

0 comments on commit ac18010

Please sign in to comment.