You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that ordering eager loaded elements only works with the deprecated order, not the new orderBy. Thus the following code returns the wanted result, sorting the shows in ascending order by showTime:
It will then throw a deprecation warning with the following origin: /Applications/MAMP/htdocs/craft3/vendor/craftcms/cms/src/elements/db/EntryQuery.php:216
Whereas the following code does not sort the shows:
Description
It seems that ordering eager loaded elements only works with the deprecated
order
, not the neworderBy
. Thus the following code returns the wanted result, sorting theshows
in ascending order byshowTime
:It will then throw a deprecation warning with the following origin:
/Applications/MAMP/htdocs/craft3/vendor/craftcms/cms/src/elements/db/EntryQuery.php:216
Whereas the following code does not sort the shows:
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: