Sha256: fabf43512ae6728e7ecca74930ffcafd11f219ed329366357feb642eef87eb63
Contents?: true
Size: 418 Bytes
Versions: 25
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This query class filters all processes of a participatory process group class GroupParticipatoryProcesses < Decidim::Query def initialize(group) @group = group end def query Decidim::ParticipatoryProcess.where(participatory_process_group: @group).order(weight: :asc) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems