From 26c1e8ded38fc153fa376b717b7a4c2b1b630286 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Sat, 19 May 2012 12:14:45 +0000 Subject: [PATCH] // 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 --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index a2d94263c..7c24a61d0 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -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';