app/search_builders/custom_range_limit_builder.rb
# We want certain fields to display all options under the dropdown
# on the advanced search page only (advanced/index). So we use this
# to overwrite any individual limits set on those fields
# in catalog_controller.
We want certain fields to display all options under the dropdown
on the advanced search page only (advanced/index). So we use this
to overwrite any individual limits set on those fields
in catalog_controller.
We want certain fields to display all options under the dropdown on the advanced search page only ( advanced / index ) . So we use this to overwrite any individual limits set on those fields in catalog_controller .
def add_advanced_facetting_to_solr(solr_parameters)
    add_facetting_to_solr(solr_parameters)
    facet_fields_to_include_in_request.each do |field_name, facet|
      solr_parameters[:"f.#{facet.field}.facet.limit"] = -1 
    end
  end
def add_advanced_facetting_to_solr ( solr_parameters ) add_facetting_to_solr ( solr_parameters ) facet_fields_to_include_in_request . each do | field_name , facet | solr_parameters [ :" f. #{ facet . field } .facet.limit " ] = - 1 end end
We want certain fields to display all options under the dropdown
on the advanced search page only (advanced/index).
We want certain fields to display all options under the dropdown on the advanced search page only ( advanced / index ) .
# defined in blacklight-6.x.x/lib/blacklight/solr/search_builder_behavior.rb # -1 in solr means show everything
solr_parameters
<not_specific>