Jump to content

Duplicated Orders row after adding left Join.


Recommended Posts

Hi,

Config:
php: 5.6.40
Version :  1.6.1.24
mode multiboutiques enabled.

 

I have a problem after adding the left join

$this->_join .= 'LEFT JOIN `'._DB_PREFIX_.'order_detail` od ON (od.`id_order` = a.`id_order`)';

 in my override file AdminOrderController.php.

All my orders with N products are duplicate N times.

Someone have a idéa to correcting this broken JOIN.

thanks.

 

AdminOrdersController.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...