Sha256: 7b994330642c29ad513938edfde3bb676381e73006ef95149749691a88a688e9
Contents?: true
Size: 504 Bytes
Versions: 37
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals module ContentBlocks class HighlightedProposalsCell < Decidim::ContentBlocks::HighlightedElementsCell def base_relation @base_relation ||= Decidim::Proposals::Proposal.published.not_hidden.except_withdrawn.where(component: published_components) end private def limit Decidim::Proposals.config.process_group_highlighted_proposals_limit end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems