[wp-trac] [WordPress Trac] #39055: REST API: order is ignored when orderby is set to include

WordPress Trac noreply at wordpress.org
Thu Feb 2 06:30:31 UTC 2017


#39055: REST API: order is ignored when orderby is set to include
-------------------------------------------------+-------------------------
 Reporter:  joshlevinson                         |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.8
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by fibonaccina):

 @jnylen0 I reviewed your work in 40037 just after I added these updated
 tests to the ticket. Sorry!
 The SQL-oriented tests you added there are closer to the data. Relocating
 and adapting these tests to go with those seems to me like a more elegant
 solution.
 I'll defer to you, whether it's better to leave the tests here or modify
 them to use the changes you added via ticket #39079 , which help the setup
 quite a bit. I suspect you'd prefer the latter, right?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39055#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list