-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with find(count) and translated conditions.
Because count queries did not have joins created for the translated fields pagination would generate invalid queries. Checking the conditions for translated fields and adding in the correct joins solves that. Extract what would have been duplicated code into methods. Add a few protected properties to keep method signatures sane. The code could be even simpler if the existing find(count) join was removed. Fixes #2349
- Loading branch information
Showing
2 changed files
with
124 additions
and
36 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