Skip to content

find_all_by not filtering correctly by boolean fields #2

Description

@GarPit
models.index_banners.find_all_by(static_banner: false)

The reason may be in json column. Because we don't have kind of "default values" for fields, when creating new entry, nothing will be written for checkbox field if it wasn't checked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions