Sha256: 416c7249623cb192dc423ab5757cff96562b58d103f2e82c09e2ecdd80cea002

Contents?: true

Size: 252 Bytes

Versions: 131

Compression:

Stored size: 252 Bytes

Contents

class Avo::Filters::<%= class_name.camelize %> < Avo::Filters::SelectFilter
  self.name = "<%= name.underscore.humanize %>"
  # self.visible = -> do
  #   true
  # end

  def apply(request, query, value)
    query
  end

  def options
    {}
  end
end

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
avo-3.4.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.6 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.5 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.4 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.3.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.2.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta23 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta20 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta21 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta17 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta22 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta18 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta19 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta24 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta15 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta16 lib/generators/avo/templates/filters/select_filter.tt
avo-3.0.1.beta14 lib/generators/avo/templates/filters/select_filter.tt