parent
5b7bc59517
commit
75d10abd16
|
@ -426,7 +426,7 @@ class WC_Query {
|
|||
$args['orderby'] = 'rand';
|
||||
break;
|
||||
case 'date' :
|
||||
$args['orderby'] = 'date';
|
||||
$args['orderby'] = 'date ID';
|
||||
$args['order'] = $order == 'ASC' ? 'ASC' : 'DESC';
|
||||
break;
|
||||
case 'price' :
|
||||
|
|
Loading…
Reference in New Issue