Sha256: 1ff5ba01adcdd468469b82a55efc687f40e1290a3bdb29be6e8cac76a1fa7eb2

Contents?: true

Size: 196 Bytes

Versions: 47

Compression:

Stored size: 196 Bytes

Contents

class <%= class_name.camelize %> < Avo::Filters::BooleanFilter
  self.name = '<%= name.underscore.humanize %>'

  def apply(request, query, values)
    query
  end

  def options
    {}
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
avo-1.25.2 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.2.1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.2.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.1.2.pre2 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.1.2.pre1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.25.1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.1.1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.1.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-2.0.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.25.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.24.2 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.24.1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.24.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.23.0 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.4 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.3 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.2 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.1 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.1.pre.2 lib/generators/avo/templates/filters/boolean_filter.tt
avo-1.22.1.pre.1 lib/generators/avo/templates/filters/boolean_filter.tt