[wp-trac] [WordPress Trac] #39037: Should REST API support multiple orderby values?

WordPress Trac noreply at wordpress.org
Thu Mar 27 15:27:45 UTC 2025


#39037: Should REST API support multiple orderby values?
--------------------------------------+------------------------------
 Reporter:  ChopinBach                |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  4.6.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by Mamaduka):

 @pbiron, you're right. The Query Look block UI will need to be adopted to
 support multi-level `orderBy` values.

 I also don't know what the best UI for this case is; maybe a repeater
 pattern (an example can be found in Global Styles -> Shadows). I guess
 we'll cross that bridge when REST API supports the argument.

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


More information about the wp-trac mailing list