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.10.1 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.10.0 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.9.3 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.9.2 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.9.1 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.9.0 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.8.4 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.8.3 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.8.2 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.8.1 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.8.0 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.7.4 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.7.3 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.7.2 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.7.1 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.7.0 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.8 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.8 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-assemblies-0.6.7 app/queries/decidim/assemblies/organization_published_assemblies.rb
decidim-0.6.7 decidim-assemblies/app/queries/decidim/assemblies/organization_published_assemblies.rb