File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
app/code/Magento/Sales/Model/ResourceModel/Collection Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1414use Magento \Store \Api \Data \StoreInterface ;
1515use Magento \Store \Model \ScopeInterface ;
1616
17- /**
18- * Class ExpiredQuotesCollection
19- */
2017class 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 }
You can’t perform that action at this time.
0 commit comments