Skip to content
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

Correct number of clauses when filtering with an array #113

Merged
merged 4 commits into from
Jul 1, 2019
Merged

Conversation

kilnerm
Copy link
Contributor

@kilnerm kilnerm commented Jul 1, 2019

When using QueryParams to filter using an array the ORM generates an incorrect number of clauses to append to the WHERE within the resulting FIND query.

This PR adds a test which catches the error condition along with a fix for the problem.

@kilnerm kilnerm added this to the 2019.13 milestone Jul 1, 2019
@kilnerm kilnerm requested a review from djones6 July 1, 2019 12:27
@kilnerm kilnerm self-assigned this Jul 1, 2019
@djones6 djones6 merged commit ce42319 into master Jul 1, 2019
@djones6 djones6 deleted the or_filter branch July 1, 2019 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants