Sha256: f0ca9cb4562b7e9d4d042fb40fa419a0ba6d6689aaa633a9bad096aa059bce16

Contents?: true

Size: 527 Bytes

Versions: 37

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    module ContentBlocks
      class HighlightedResultsCell < Decidim::ContentBlocks::HighlightedElementsCell
        include Cell::ViewModel::Partial
        include Decidim::IconHelper
        include Decidim::Accountability::ApplicationHelper
        include ActiveSupport::NumberHelper

        def base_relation
          @base_relation ||= Decidim::Accountability::Result.where(component: published_components)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-accountability-0.27.9 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.8 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.7 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.6 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.10 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.9 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.5 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.8 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.4 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.3 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.7 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.5 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.2 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.1 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.4 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.0 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.3 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.0.rc2 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.27.0.rc1 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
decidim-accountability-0.26.2 app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb