Sha256: 4818046d1830dbf3f34b596eff3e0a8e83168658702b04634afeb07141891784
Contents?: true
Size: 533 Bytes
Versions: 22
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), VisibleAssemblies.new(@user), PublishedAssemblies.new ).query end end end end
Version data entries
22 entries across 22 versions & 1 rubygems