Sha256: 87c6f1a27a76dee481ffa802f88aa4c76f4cb4bfc7a1f05597ef77671df01caf
Contents?: true
Size: 445 Bytes
Versions: 19
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # This query class filters published votings given an organization. class OrganizationPublishedVotings < Decidim::Query def initialize(organization) @organization = organization end def query Decidim::Query.merge( OrganizationVotings.new(@organization), PublishedVotings.new ).query end end end end
Version data entries
19 entries across 19 versions & 1 rubygems