Sha256: e8089c3ddb00e9c1204177d422879ceb43e392df53ac3ccbae7a42fcea4d46be

Contents?: true

Size: 460 Bytes

Versions: 34

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This query class filters published assemblies given an organization.
    class OrganizationPublishedAssemblies < Rectify::Query
      def initialize(organization)
        @organization = organization
      end

      def query
        Rectify::Query.merge(
          OrganizationAssemblies.new(@organization),
          PublishedAssemblies.new
        ).query
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
decidim-assemblies-0.6.6 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.6 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.5 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.5 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.4 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.4 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.3 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.3 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.2 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.2 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.1 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.1 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.0 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.0 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb