How do you get ActiveAdmin index page to sort a certain column on default beside using default_scope for the resource index page? I tried many things and none works.
from active admin index page documentation:
Index default sort order You can define the default sort order for index pages:
ActiveAdmin.register Post do
config.sort_order = "name_asc"
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With