Allow graphql queries to orderBy subfields #16157
-
It would be very helpful if the My use case: I'm using https://github.com/studioespresso/craft-date-range for an events related entry type. The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just made this possible for Craft 5.6 (a6c770d). If you’d like to test it out, change your "craftcms/cms": "5.6.x-dev as 5.6.0-alpha", and then run Alternatively, you could create new Preparse fields that extract the |
Beta Was this translation helpful? Give feedback.
Just made this possible for Craft 5.6 (a6c770d).
If you’d like to test it out, change your
craftcms/cms
requirement in composer.json to:and then run
composer update
.Alternatively, you could create new Preparse fields that extract the
start
andend
values into their own (hidden) custom fields, and order by those fields instead.