Sha256: e0c3ea861132488e88a07ddffe8054c4ee72e61056696bc727b64bb1251ab7c5
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
module Georgia class TagSearch < SearchDefinition def process if query.present? include_filtered_query add_fulltext_query # add_suggestion # add_status_facet_filter if status.present? # elsif status.present? # include_filtered_query # add_status_facet_filter else add_match_all end add_sorting end private def sort_column :taggings_count end def sort_direction 'asc' end def query_fields ['name'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia-0.8.0 | app/searches/georgia/tag_search.rb |