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
When creating a DataList from Versioned::get_including_deleted() any calls to byID or byIDs on this will instead filter by recordID, not the object's ID field.
When creating a DataList from
Versioned::get_including_deleted()
any calls to byID or byIDs on this will instead filter by recordID, not the object's ID field.The problem is that the RecordID is correctly aliased in the SELECT fragment with https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/Versioned.php#L285, but no such alias is generated for any WHERE fragments.
A well placed and tested
replaceText
should resolve this.The text was updated successfully, but these errors were encountered: