forked from janv/rest_in_place
-
Notifications
You must be signed in to change notification settings - Fork 566
Open
Description
Hi,
i know this issue has been addressed many times, but i still do not see a solution:
When using the following column code in ActiveAdmin the order of the items does not represent my order given in the select statement (it is reordered later after the id keys):
column 'sector' do |i|
best_in_place i, :sector_id, as: :select, url: admin_sector_path(i), :collection => Sector.order('name asc').map { |f| [f.id, f.name] }
end
Is there a possibility not to allow a reordering for the array given to the collection?
Metadata
Metadata
Assignees
Labels
No labels