Show sidebar without active filteres
workgena opened this issue · comments
Hennadii M. commented
Allow users to perform actions with absolutely all records.
It means show sidebar without active filters or scope.
It should be configurable.
config.scoped_collection_actions_always = true
Igor Fedoronchuk commented
would be better just
config.scoped_collection_actions_conditions = -> { true }
if not overrided used default which is
config.scoped_collection_actions_conditions = -> { (params[:q] || params[:scope]) && active_admin_config.scoped_collection_actions.any? }
Hennadii M. commented
Use:
config.scoped_collection_actions_if = -> { true }