bogdan/datagrid — Issue #20: sort picklist
Author: burtondav
Created: 2012-02-27 17:46:10+00:00
State: open

I have the following filter:
filter(:first_name, :enum, :header => "First Name", :select => proc { User.all.map(&:first_name) }) do |value|
self.joins(:user).where(:users => { :first_name => value})
end

How would I get the first_name sorted ASC?

Thanks,
Dave