[-] BugFix : Bad group by in request for admin stock instant states

[-] BugFix is actions details

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9563 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-10-21 15:27:12 +00:00
parent 2bc17241ca
commit 61319af5be
2 changed files with 2 additions and 2 deletions
@@ -222,7 +222,7 @@ class AdminStockInstantStateControllerCore extends AdminController
WHERE id_warehouse = '.$this->getCurrentWarehouseId().' '.(isset($this->_where) ? $this->_where.' ' : '').
($this->deleted ? 'AND a.`deleted` = 0 ' : '').
(isset($this->_filter) ? $this->_filter : '').'
GROUP BY pac.id_product_attribute
GROUP BY pac.id_product_attribute, p.id_product
'.((isset($this->_filterHaving) || isset($this->_having)) ? 'HAVING ' : '').
(isset($this->_filterHaving) ? ltrim($this->_filterHaving, ' AND ') : '').
(isset($this->_having) ? $this->_having.' ' : '').'