Module: ActiveScaffold::Bridges::DatePicker::Finder

Defined in:
lib/active_scaffold/bridges/date_picker/ext.rb

Instance Method Summary collapse

Instance Method Details

#datetime_conversion_for_condition(column) ⇒ Object


27
28
29
30
31
32
33
# File 'lib/active_scaffold/bridges/date_picker/ext.rb', line 27

def datetime_conversion_for_condition(column)
  if column.search_ui == :date_picker
    :to_date
  else
    super
  end
end