Sha256: db59ac30f15549e63fa1a51825d25b0ec683ab81cd682a7e370cddd616259e28
Contents?: true
Size: 595 Bytes
Versions: 53
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This query class filters participatory process groups given an organization and a filter. class OrganizationPrioritizedParticipatoryProcessGroups < Rectify::Query def initialize(organization, filter = "active") @organization = organization @filter = filter end def query Rectify::Query.merge( OrganizationParticipatoryProcessGroups.new(@organization), FilteredParticipatoryProcessGroups.new(@filter) ).query end end end end
Version data entries
53 entries across 53 versions & 2 rubygems