In an active admin show page, I've got two panels, the first being the primary record, the second being associated info (by has_many) so show
looks like this:
panel "Max Amount" do
table_for user.max_amount do
column 'Amount', :amount
column 'time', :updated_at
end
end
Can i sort this high-to-low (or low-to-high) on the amount column?
Update: I found the source for the demo ( https://github.com/gregbell/demo.activeadmin.info/blob/master/app/admin/users.rb ) which seems to have sorting but when you go to the actual demo site it's not working. Is this feature perhaps broken? Is there a work-around?