Sha256: fd768d8f88844bdfaf6f308785a182764d8c7a1d7c5dd0362c6cee95d8aa7e79

Contents?: true

Size: 524 Bytes

Versions: 13

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

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

        included do
          include Decidim::Admin::Filterable

          private

          def base_query
            collection
          end

          def search_field_predicate
            :user_name_or_user_nickname_or_user_email_cont
          end

          def filters
            []
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-admin-0.29.1 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.4 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.29.0 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.3 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.29.0.rc4 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.29.0.rc3 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.29.0.rc2 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.29.0.rc1 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.2 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.1 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.0 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.0.rc5 app/controllers/concerns/decidim/admin/logs/filterable.rb
decidim-admin-0.28.0.rc4 app/controllers/concerns/decidim/admin/logs/filterable.rb