Class: Avo::Filters::TextFilter

Inherits:
BaseFilter show all
Defined in:
lib/avo/filters/text_filter.rb

Constant Summary

Constants inherited from BaseFilter

BaseFilter::PARAM_KEY

Instance Attribute Summary

Attributes inherited from BaseFilter

#arguments

Instance Method Summary collapse

Methods inherited from BaseFilter

#applied_filters, #applied_or_default_value, #apply_query, #button_label, #current_user, decode_filters, encode_filters, get_empty_message, #id, #initialize, #name, #visible_in_view

Constructor Details

This class inherits a constructor from Avo::Filters::BaseFilter

Instance Method Details

#selected_value(applied_filters) ⇒ Object



6
7
8
# File 'lib/avo/filters/text_filter.rb', line 6

def selected_value(applied_filters)
  applied_or_default_value
end