Changes between Initial Version and Version 5 of Ticket #24133
- Timestamp:
- 03/06/2014 09:17:48 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24133
-
Property
Status
changed from
new
toclosed
-
Property
Component
changed from
General
toQuery
-
Property
Resolution
changed from
to
duplicate
-
Property
Milestone
changed from
Awaiting Review
to
-
Property
Status
changed from
-
Ticket #24133 – Description
initial v5 4 4 5 5 So for instance: 6 ('orderby' => 'title menu_order', 'order' => 'DECS') 6 {{{ 7 ('orderby' => 'title menu_order', 'order' => 'DESC') 8 }}} 7 9 Will end up as 8 "ORDER BY $wpdb->posts.menu_order, $wpdb->posts.post_menu_order DECS" 9 10 {{{ 11 "ORDER BY $wpdb->posts.menu_order, $wpdb->posts.post_menu_order DESC" 12 }}} 10 13 To fix (I hope), the following needs to be done to query.php line 2387 11 $orderby_array[] = $orderby.' '.$q['order']; 14 {{{ 15 $orderby_array[] = $orderby.' '.$q['order']; 16 }}}