Open alexander-storozhenko opened 2 years ago
I have some table:
... t.jsonb "connection_info", default: {} ...
I want to filter my records by json field "offline_time"
I have a code:
field :online_time do searchable [SomeModel => { connection_info: "offline_time" }] # this not works( formatted_value do ...
You have to figure out the PostgreSQL syntax to query json fields and then use it in a custom search https://github.com/railsadminteam/rails_admin/wiki/Custom-Search
I have some table:
I want to filter my records by json field "offline_time"
I have a code: