Merge branch 'fix-cache-privatesale_family_menu' into develop

This commit is contained in:
Marion Muszynski 2017-11-20 17:21:33 +01:00
commit f6944a411d

View File

@ -146,8 +146,7 @@ class Privatesales_Family_Menu extends Module {
WHERE p.`public` = 0 WHERE p.`public` = 0
AND pv.`version` = "'.pSql($site_version_front).'" AND pv.`version` = "'.pSql($site_version_front).'"
AND p.`enabled` = 1 AND p.`enabled` = 1
AND p.`date_start` > NOW() AND CAST(p.`date_start` AS DATE) = CAST(DATE_ADD(NOW(), INTERVAL 1 DAY) AS DATE)
AND p.`date_end` > NOW()
AND pcf.`id_category_family` = '.(int)$child['id_category_family'].' AND pcf.`id_category_family` = '.(int)$child['id_category_family'].'
GROUP BY p.`id_sale` GROUP BY p.`id_sale`
ORDER BY p.`date_end` ASC ORDER BY p.`date_end` ASC