Fixed Finder::setDefaultOrder no longer resolves column names from joins

Xon

Well-known member
Affected version
2.3.0
Previously calling setDefaultOrder('MasterTitle.phrase_text') would cause an implicit join on MasterTitle with XF2.3.0RC5+ it no longer does.

The issue is the column text is passed to renderToOrderSqlParts/columnSqlName after joins have been processed in getQuery, which means the join no longer happens.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.1).

Change log:
Fix implicit join behavior of finder order clauses
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom