Sha256: 2dbfd85e54d7aab464cda7636a0b6fc9c9fae6acb2f24ff8e6f414e10c01bc11

Contents?: true

Size: 263 Bytes

Versions: 97

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This query filters assemblies so only promoted ones are returned.
    class PromotedAssemblies < Rectify::Query
      def query
        Decidim::Assembly.promoted
      end
    end
  end
end

Version data entries

97 entries across 97 versions & 2 rubygems

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