[wp-trac] [WordPress Trac] #39037: Should REST API support multiple orderby values?
WordPress Trac
noreply at wordpress.org
Wed Aug 7 22:23:31 UTC 2024
#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 pbiron):
I would love to get this implemented. I'm building a custom block that
calls [https://developer.wordpress.org/block-editor/reference-
guides/packages/packages-core-data/#useentityrecords useEntityRecords()]
and I need (actually it's a want, but it's pretty close to need ;-) to use
a multi-level orderby ('menu_order title').
I suspect that once the REST API supports multi-level `orderby`, various
things in GB will need to then be modified to support the feature.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39037#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list