ref: master
plugins/solr/views/solr_plugin/search/_facet_results.html.erb
<% less_options_limit = 8 if less_options_limit.nil? if @all_facets_enabled btn_icon = "less" btn_label = "See less options" else btn_icon = "more" btn_label = "See more options" end results = @asset_class.map_facet_results facet, params[:facet], @facets, @all_facets, limit: less_options_limit facet_count = results.total_entries %>