[*] BO : Features are now sortable.

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8751 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-09-23 15:45:40 +00:00
parent 4f5b1dd933
commit 83fc0977c9
12 changed files with 250 additions and 12 deletions
+3 -1
View File
@@ -2904,7 +2904,9 @@ class ProductCore extends ObjectModel
FROM '._DB_PREFIX_.'feature_product pf
LEFT JOIN '._DB_PREFIX_.'feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = '.(int)$id_lang.')
LEFT JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = '.(int)$id_lang.')
WHERE pf.id_product = '.(int)$id_product);
LEFT JOIN '._DB_PREFIX_.'feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = '.(int)$id_lang.')
WHERE pf.id_product = '.(int)$id_product.'
ORDER BY f.position ASC');
}
return self::$_frontFeaturesCache[$id_product.'-'.$id_lang];
}