File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Reports/Model/Resource/Quote Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function resolveCustomerNames()
119
119
$ customerName = $ select ->getAdapter ()->getConcatSql (['cust_fname.value ' , 'cust_lname.value ' ], ' ' );
120
120
121
121
$ select ->from (
122
- ['customer ' => 'customer_entity ' ]
122
+ ['customer ' => $ this -> customerResource -> getTable ( 'customer_entity ' ) ]
123
123
)->columns (
124
124
['customer_name ' => $ customerName ]
125
125
)->where (
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public function addStoreFilter($storeIds)
155
155
public function addCustomerData ($ filter = null )
156
156
{
157
157
$ customersSelect = $ this ->customerResource ->getReadConnection ()->select ();
158
- $ customersSelect ->from (['customer ' => 'customer_entity ' ], 'entity_id ' );
158
+ $ customersSelect ->from (['customer ' => $ this -> customerResource -> getTable ( 'customer_entity ' ) ], 'entity_id ' );
159
159
if (isset ($ filter ['customer_name ' ])) {
160
160
$ customersSelect = $ this ->getCustomerNames ($ customersSelect );
161
161
$ customerName = $ customersSelect ->getAdapter ()->getConcatSql (['cust_fname.value ' , 'cust_lname.value ' ], ' ' );
You can’t perform that action at this time.
0 commit comments