Fixed an issue where toArray() was done recursively on the passed in $critera, which turned objects into sub-arrays in orderBy and other properties, causing a DB error (#51) (#50)
Version 5.0.1
June 19, 2024
Fixed
Filter out OrderByPlaceholderExpression expressions from the orderBy clause in the ElementQuery to prevent invalid SQL from being generated (#51) (#52)
Fixed a SQLSTATE[42S22]: Column not found: 1054 Unknown column 'content.id' in 'group statement' error on Craft 5 (#51)