Sha256: ac429c1babbd4480959a5f07f57d1b84f2ed4842c278a2d9310d73d656f27970

Contents?: true

Size: 326 Bytes

Versions: 25

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    # This query filters participatory process groups so only promoted ones are returned.
    class PromotedParticipatoryProcessGroups < Decidim::Query
      def query
        Decidim::ParticipatoryProcessGroup.promoted
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.27.2 app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb
decidim-participatory_processes-0.27.1 app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb
decidim-participatory_processes-0.27.0 app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb
decidim-participatory_processes-0.27.0.rc2 app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb
decidim-participatory_processes-0.27.0.rc1 app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb