-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Query::assembleSelect(): Apply
orderBy
before joining the relations
Otherwise, the query fails if the orderBy relations that are not available in `$this->with[]`. Previously, the `$this->with` array was enhanced, but the enhanced values were not taken into account for relation Join.
- Loading branch information
1 parent
a26d9ae
commit 1fbf51e
Showing
2 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters