Module: SunspotPlus::DSL::Query::CaseInsensitiveSort::InstanceMethods
- Defined in:
- lib/sunspot_plus/dsl/query/case_insensitive_sort.rb
Instance Method Summary collapse
Instance Method Details
#ci_order_by(field_name, direction = nil) ⇒ Object
10 11 12 |
# File 'lib/sunspot_plus/dsl/query/case_insensitive_sort.rb', line 10 def ci_order_by(field_name, direction = nil) order_by(Sunspot::Type::CaseInsensitiveSortType.instance.field_name(field_name), direction) end |