Sha256: 708006ad147b3b8d2b1e7b0e48fafffd22cbdb63f73705e6ed332562ff69f035
Contents?: true
Size: 592 Bytes
Versions: 38
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This query class filters published processes given an organization. class OrganizationPublishedParticipatoryProcesses < Rectify::Query def initialize(organization, user = nil) @organization = organization @user = user end def query Rectify::Query.merge( OrganizationParticipatoryProcesses.new(@organization), VisibleParticipatoryProcesses.new(@user), PublishedParticipatoryProcesses.new ).query end end end end
Version data entries
38 entries across 38 versions & 1 rubygems