Sha256: 2f67c5493a88bd4f139fb557c899e24ddd3d7c1a092142436d75a06cf6fd0018
Contents?: true
Size: 417 Bytes
Versions: 13
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This query class filters all conferences given an organization. class OrganizationConferences < Decidim::Query def initialize(organization) @organization = organization end def query Decidim::Conference.where(organization: @organization).order(weight: :asc, start_date: :desc) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems