// Fix stats queries
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7537 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -135,7 +135,7 @@ class StatsBestManufacturers extends ModuleGrid
|
||||
LEFT JOIN '._DB_PREFIX_.'currency c ON (c.id_currency = o.id_currency)
|
||||
LEFT JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer)
|
||||
WHERE '.$this->sqlShopRestriction(false, 'o').'
|
||||
o.invoice_date BETWEEN '.$this->getDate().'
|
||||
AND o.invoice_date BETWEEN '.$this->getDate().'
|
||||
AND o.valid = 1
|
||||
AND m.id_manufacturer IS NOT NULL
|
||||
GROUP BY p.id_manufacturer';
|
||||
|
||||
Reference in New Issue
Block a user