Module: Filterable::Concerns::Sortable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/filterable/concerns/sortable.rb
Overview
Adds ordering to a Filterable::Concern model. Declare the sortable columns with
sortable :value_date (or sortable public_name: :db_column to alias), then
filters[sort] may order on those columns only.