Closed JelleGe closed 3 years ago
The PR https://github.com/markshust/magento2-module-ordergrid/pull/5 was just merged in, which should resolve this issue.
Hi Mark, just checked it, but the order grid inside the customer still does not load. Same issue when the new version is enabled. Can you please check this? We still fetch the same issue/error.
Hi,
We face the problem, that the customer orders grid is not loading anymore. The admin general order grid is working fine with the products, but inside a customer, the orders grid does not load.
We get the following error:
[2021-03-24 13:31:51] main.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'customer_id' in where clause is ambiguous, query was: SELECT COUNT(DISTINCT main_table.entity_id) FROM
sales_order_grid
ASmain_table
INNER JOINsales_order_item
ON main_table.entity_id = sales_order_item.order_id LEFT JOINsales_order_address
AScustomer_address
ON main_table.entity_id = customer_address.parent_id and address_type="billing" WHERE (customer_id
= '1') [] []How can we solve this?