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.14.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.14.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.14.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.14.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.7 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.6 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.5 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.4 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.13.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.12.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.10 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.9 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.8 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.7 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.6 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.5 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.4 lib/generators/avo/templates/filters/select_filter.tt