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

Filtering JSONB Array Throws Error #55

Open
acwright opened this issue Sep 27, 2021 · 1 comment
Open

Filtering JSONB Array Throws Error #55

acwright opened this issue Sep 27, 2021 · 1 comment

Comments

@acwright
Copy link

Attempting to filter a jsonb array:

filter_on :tags, type: :jsonb

Throws an error:

undefined local variable or method `val' for #<Sift::WhereHandler:0xb0fe4148 @param=#<Sift::Parameter:0xb131ed98 @param=:tags, @type=:jsonb, @internal_name=:tags>>

It looks like this is a simple typo in Sift::WhereHandler. I will submit a pull request with a fix.

@acwright
Copy link
Author

Submitted pull request #56

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

No branches or pull requests

1 participant