From 398488bcc0cf3098de7cf0e19262e5777f9bfd7c 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 --- 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';