app/helpers/spotlight/browse_helper.rb in blacklight-spotlight-1.3.0 vs app/helpers/spotlight/browse_helper.rb in blacklight-spotlight-1.4.0

- old
+ new

@@ -22,9 +22,15 @@ else super end end + ## + # Get parent results count of a browse category search + def parent_search_count + @parent_search_count ||= Spotlight::Search.find(@search.id).count + end + private def view_available?(view) blacklight_config.view.key?(view) && blacklight_configuration_context.evaluate_if_unless_configuration(blacklight_config.view) end