[-] FO: Fix: many fixes - domain for cookies with different url for ssl / add to cart button for minimal quantities with product attributes

This commit is contained in:
Rémi Gaillard
2012-11-20 19:05:21 +01:00
parent 91a4a4955e
commit 3e2de4986b
11 changed files with 87 additions and 23 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ class SupplierCore extends ObjectModel
$order_by = pSQL($order_by[0]).'.`'.pSQL($order_by[1]).'`';
}
$alias = '';
if ($order_by == 'price')
if (in_array($order_by, array('price', 'date_add', 'date_upd')))
$alias = 'product_shop.';
elseif ($order_by == 'id_product')
$alias = 'p.';