// fix product list by category when ordering by update date

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15430 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-05-19 12:14:45 +00:00
parent f907523250
commit 26c1e8ded3
+1 -1
View File
@@ -599,7 +599,7 @@ class CategoryCore extends ObjectModel
if (empty($order_way))
$order_way = 'ASC';
if ($order_by == 'id_product' || $order_by == 'date_add')
if ($order_by == 'id_product' || $order_by == 'date_add' || $order_by == 'date_upd')
$order_by_prefix = 'p';
else if ($order_by == 'name')
$order_by_prefix = 'pl';