Skip to content

Filtering JSONB Array Throws Error #55

@acwright

Description

@acwright

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions