Sha256: b8d8ac789d1943bfe8918536c359a360dc21d8d0578377f7a0c9f1b28ae19aad
Contents?: true
Size: 428 Bytes
Versions: 25
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This query class filters all processes given an organization. class OrganizationParticipatoryProcesses < Rectify::Query def initialize(organization) @organization = organization end def query Decidim::ParticipatoryProcess.where(organization: @organization).order(weight: :asc) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems