jbmyid
jbmyid

Reputation: 2015

Show only selected filters on active admin index page

Is it possible to show only listed filter and not all default filters like all associations filters in active admin.

I have to manually skip the filters using remove_filter :groups etc And whenever add any association it comes on the page automatically which i want to disable.

Upvotes: 1

Views: 636

Answers (1)

dubadub
dubadub

Reputation: 3342

If explicitly use filter :attribute keyword, it will display only this filter, not default ones.

Upvotes: 2

Related Questions