-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes error on complex where statements #206
base: master
Are you sure you want to change the base?
Conversation
Hello @Stumpftopf , Thank you for your contribution, do you mind to write a test covering this fix ? |
Any chance to get that merged in time? |
We can't merge it without tests |
@garak Thanks for the clearification. I‘ll fork the repo temporarly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add tests
This fix is also missing the case that An example where this happens is for $expr->orX(
$expr->between('event_date.dateFrom', ':start', ':end'),
$expr->between('event_date.dateTo', ':start', ':end')
) that since doctrine/orm@550fcbc#diff-77ad6f787b65be81710fe85fee3d41f4b8e0b766446f8f24c28e0440b7eea17eR61 results in |
I get a bug when i use the default search with a simple query together with andWhere
This patch works like a charm! Please merge!! |
As soon as we have some automatic tests to confirm that it works, I'll be glad to merge. |
Fixes #205