Sha256: 02db6253f910b8294002fa7257f06821126ad33745c4c0813af3e45975f5bc5b
Contents?: true
Size: 533 Bytes
Versions: 16
Compression:
Stored size: 533 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, user = nil) @organization = organization @user = user end def query Rectify::Query.merge( OrganizationAssemblies.new(@organization), PublishedAssemblies.new, VisibleAssemblies.new(@user) ).query end end end end
Version data entries
16 entries across 16 versions & 1 rubygems