Skip to content

Commit 27954df

Browse files
committed
Merge branch 'ACP2E-3247' of https://github.com/adobe-commerce-tier-4/magento2ce into PR-10-01-2024
2 parents 7dbcb26 + 7cbc24d commit 27954df

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/code/Magento/Sales/Model/ResourceModel/Collection/ExpiredQuotesCollection.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
use Magento\Store\Api\Data\StoreInterface;
1515
use Magento\Store\Model\ScopeInterface;
1616

17-
/**
18-
* Class ExpiredQuotesCollection
19-
*/
2017
class ExpiredQuotesCollection
2118
{
2219
/**
@@ -71,8 +68,8 @@ public function getExpiredQuotes(StoreInterface $store): AbstractCollection
7168

7269
/** @var $quotes Collection */
7370
$quotes = $this->quoteCollectionFactory->create();
74-
$quotes->addFieldToFilter('store_id', $store->getId());
75-
$quotes->addFieldToFilter('updated_at', ['to' => date("Y-m-d", time() - $lifetime)]);
71+
$quotes->addFieldToFilter('main_table.store_id', $store->getId());
72+
$quotes->addFieldToFilter('main_table.updated_at', ['to' => date("Y-m-d", time() - $lifetime)]);
7673

7774
return $quotes;
7875
}

0 commit comments

Comments
 (0)