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.25.0.rc4 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.25.0.rc3 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.25.0.rc2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.25.0.rc1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.3 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.6 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.5 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.0.rc2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.4 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.24.0.rc1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.3 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.2 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.1.rc1 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.23.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.22.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb
decidim-admin-0.21.0 app/controllers/concerns/decidim/admin/officializations/filterable.rb