- Fixed an issue where
toArray()
was done recursively on the passed in$critera
, which turned objects into sub-arrays inorderBy
and other properties, causing a DB error (#51) (#50)
- Filter out
OrderByPlaceholderExpression
expressions from theorderBy
clause in theElementQuery
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)
- Stable release for Craft CMS 5