Skip to content

Commit 8298ea8

Browse files
committed
MAGETWO-37836: Fatal error on Abandoned Carts report grid
- fix usage of table customer_entity
1 parent 85775b6 commit 8298ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Reports/Model/Resource/Quote/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ protected function getCustomerNames($select)
176176
public function addCustomerData($filter = null)
177177
{
178178
$customersSelect = $this->customerResource->getReadConnection()->select();
179-
$customersSelect->from(['customer' => 'customer_entity'], 'entity_id');
179+
$customersSelect->from(['customer' => $this->getTable('customer_entity')], 'entity_id');
180180
if (isset($filter['customer_name'])) {
181181
$customersSelect = $this->getCustomerNames($customersSelect);
182182
$customerName = $customersSelect->getAdapter()->getConcatSql(['cust_fname.value', 'cust_lname.value'], ' ');

0 commit comments

Comments
 (0)