Timeline for WP_Query with multiple orderby NOT working with ASC and DESC, what's wrong?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 22, 2016 at 21:08 | comment | added | John | (last edit premature) Thanks, tried that but no luck. In my research I saw this discussing this exact matter: [core.trac.wordpress.org/ticket/17065] (Make WordPress Core #17065 Independent ASC/DESC in multiple ORDER BY statement) It says "closed" but comments note that DESC no work. A post by RossCurrie at bottom (~2 yrs ago) says "ordering by multiple attrs doesn't work well when date/post_date used, it's sorted as a datetime val. Even posts on same date are still ordered by time created. So if I want to sort by date,meta or date,title it just doesn't work" Did you get it to work? | |
| May 22, 2016 at 20:54 | comment | added | John | Thanks I tried that but it is still not working. [Make WordPress Core #17065 Independent ASC/DESC in multiple ORDER BY statement] (core.trac.wordpress.org/ticket/17065) closed task (blessed) (fixed) | |
| May 22, 2016 at 20:14 | history | answered | TheDeadMedic | CC BY-SA 3.0 |