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.11.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.11.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.10 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.9 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.8 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.7 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.6 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.5 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.4 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.3 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.10.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.9.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.9.1 lib/generators/avo/templates/filters/select_filter.tt
avo-3.8.2 lib/generators/avo/templates/filters/select_filter.tt
avo-3.9.0 lib/generators/avo/templates/filters/select_filter.tt
avo-3.8.1 lib/generators/avo/templates/filters/select_filter.tt