Sha256: 0ad50a9b85d7d7c543d7fa63129e96a384ab27d85fbf999db0f2b89cef33b04d

Contents?: true

Size: 379 Bytes

Versions: 60

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ##
  # Helper for browse views
  module BrowseHelper
    include Blacklight::ConfigurationHelperBehavior
    include Spotlight::RenderingHelper

    ##
    # Get parent results count of a browse category search
    def parent_search_count
      @parent_search_count ||= Spotlight::Search.find(@search.id).count
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.5 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.4 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.3 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.2 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.1 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.3.0 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.2.0 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.1.2 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.1.1 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.1.0 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.0.3 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.0.2 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.0.1 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-4.0.0 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-3.6.0.beta10 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-3.6.0.beta9 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-3.6.0.beta8 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-3.5.0.4 app/helpers/spotlight/browse_helper.rb
blacklight-spotlight-3.6.0.beta7 app/helpers/spotlight/browse_helper.rb