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

query for nil creates correct query #912

Merged
merged 1 commit into from
Oct 16, 2015
Merged

query for nil creates correct query #912

merged 1 commit into from
Oct 16, 2015

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Oct 16, 2015

Previously querying for a field to be nil (e.g. library_id: nil) would
just ignore that restriction and return all records. Now it actually
queryies for records that don't have library_id set (e.g. -library_id:[* TO *]) Fixes #910

@jcoyne jcoyne force-pushed the fix_query_nil branch 4 times, most recently from fb3ba7e to 8875e7c Compare October 16, 2015 17:24
Previously querying for a field to be nil (e.g. library_id: nil) would
just ignore that restriction and return all records. Now it actually
queryies for records that don't have library_id set (e.g. -library_id:[*
TO *]) Fixes #910
mjgiarlo added a commit that referenced this pull request Oct 16, 2015
query for nil creates correct query
@mjgiarlo mjgiarlo merged commit 8e53ae3 into master Oct 16, 2015
@mjgiarlo mjgiarlo deleted the fix_query_nil branch October 16, 2015 22:06
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.

3 participants