From 7e93d12e67113a4a2a910c0e6875d69d4fe880cf Mon Sep 17 00:00:00 2001 From: bMancone Date: Mon, 27 Feb 2012 16:14:14 +0000 Subject: [PATCH] // Fixed #PSTEST-886 --- controllers/admin/AdminStockManagementController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/admin/AdminStockManagementController.php b/controllers/admin/AdminStockManagementController.php index 9fee6f378..508499418 100644 --- a/controllers/admin/AdminStockManagementController.php +++ b/controllers/admin/AdminStockManagementController.php @@ -103,6 +103,7 @@ class AdminStockManagementControllerCore extends AdminController $this->_select = 'a.id_product as id, COUNT(pa.id_product_attribute) as variations'; $this->_join = 'LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (pa.id_product = a.id_product)'; $this->_where = 'AND a.cache_is_pack = 0 AND a.is_virtual = 0'; + $this->_group = 'GROUP BY a.id_product'; // displays informations $this->displayInformation($this->l('This interface allows you to manage the stocks of each of your products and their variations.').'
');