Dawn Posted August 26, 2021 Share Posted August 26, 2021 Hi, i have a problem with after upgrading to 1.7, i see same product many times at the backend. In PS 1.6 it was solve replacing some lines to AdminProductsController.php, but that lines not exists in PS 1.7. That was the trick: $this->_use_found_rows = false; $this->_group = ''; with this: $this->_use_found_rows = true; $this->_group = 'GROUP BY '.$alias.'.id_product'; Somebody with same problem? Thanks. Link to comment Share on other sites More sharing options...
dmru Posted April 20, 2023 Share Posted April 20, 2023 HI, try to change file \src\Adapter\Product\AdminProductDataProvider.php, line 317 $sqlGroupBy = []; change to: $sqlGroupBy = ['id_product']; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now