Skip to content

Make search a first class citizen with ransack being the default engine (searchable fields) #2160

Open
@adrianthedev

Description

@adrianthedev

This would add the searchable option to fields.

We would build the search_query block ourselves.
If a field is deemed searchable we automatically add it to searchable_attributes on the model and add it to the search_query with _cont suffix. We might make a few adjustments, like marking the numeric DB columns as _eq instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions