Sha256: fd49a2a0910cc07f3c7208e7d4726deac5d4ce30848865654ff56d3a591725fa

Contents?: true

Size: 507 Bytes

Versions: 34

Compression:

Stored size: 507 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    # This query class filters published processes given an organization.
    class OrganizationPublishedParticipatoryProcesses < Rectify::Query
      def initialize(organization)
        @organization = organization
      end

      def query
        Rectify::Query.merge(
          OrganizationParticipatoryProcesses.new(@organization),
          PublishedParticipatoryProcesses.new
        ).query
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
decidim-participatory_processes-0.10.1 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.10.0 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.9.3 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.9.2 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.9.1 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.9.0 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.8.4 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.8.3 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.8.2 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.8.1 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.8.0 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.7.4 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.7.3 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.7.2 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.7.1 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.7.0 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.6.8 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-0.6.8 decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-participatory_processes-0.6.7 app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb
decidim-0.6.7 decidim-participatory_processes/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb