jhund / filterrific

Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
http://filterrific.clearcove.ca
MIT License
910 stars 124 forks source link

Cannot specify order of scopes #130

Open jakeprime opened 7 years ago

jakeprime commented 7 years ago

I would like to order the list of filters performed, but I cannot as they are always alphabetised by filterrific:

https://github.com/jhund/filterrific/blob/40ecd192a09c59a2c4ddf32ed47ec57488e0047c/lib/filterrific/active_record_extension.rb#L90

I assume there must be a reason for forcing this order, but I'm not sure what it is? Can it be removed, or made configurable?