Sha256: 309105d6b8a611f70c71f61812fe8184a1951f02757bd98116935382609513c8

Contents?: true

Size: 542 Bytes

Versions: 60

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

module Decidim
  module Admin
    module Officializations
      module Filterable
        extend ActiveSupport::Concern

        included do
          include Decidim::Admin::Filterable

          private

          def base_query
            collection
          end

          def search_field_predicate
            :name_or_nickname_or_email_cont
          end

          def filters
            [:officialized_at_null]
          end
        end
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
decidim-admin-0.29.1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.4 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.27.9 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.29.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.3 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.27.8 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.29.0.rc4 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.29.0.rc3 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.29.0.rc2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.29.0.rc1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.27.7 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.27.6 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.26.10 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.26.9 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.27.5 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.0.rc5 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.28.0.rc4 app/controllers/concerns/decidim/admin/officializations/filterable.rb