Module: Spotlight::BrowseHelper

Includes:
Blacklight::ConfigurationHelperBehavior, RenderingHelper
Defined in:
app/helpers/spotlight/browse_helper.rb

Overview

Helper for browse views

Instance Method Summary collapse

Methods included from RenderingHelper

#render_markdown

Instance Method Details

#parent_search_countObject

Get parent results count of a browse category search



12
13
14
# File 'app/helpers/spotlight/browse_helper.rb', line 12

def parent_search_count
  @parent_search_count ||= Spotlight::Search.find(@search.id).count
end