// 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:
1 parent
f907523250
commit
26c1e8ded3
1 file changed
+1
-1
@@ -599,7 +599,7 @@ class CategoryCore extends ObjectModel
|
|||||||
|
|
||||||
if (empty($order_way))
|
if (empty($order_way))
|
||||||
$order_way = 'ASC';
|
$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';
|
$order_by_prefix = 'p';
|
||||||
else if ($order_by == 'name')
|
else if ($order_by == 'name')
|
||||||
$order_by_prefix = 'pl';
|
$order_by_prefix = 'pl';
|
||||||
|
|||||||
Reference in new issue
Block a user