app/models/search_builder.rb
#sort call number searches by call number
sort call number searches by call number
sort call number searches by call number
def sortby_callnum user_parameters
    if blacklight_params[:search_field] == 'lc_callnum' && blacklight_params[:sort].nil?
       callnum_sortby =  blacklight_config.sort_fields.values.select { |field| field.callnum_default == true }.first
       user_parameters[:sort] = callnum_sortby.field
    end
  end
def sortby_callnum user_parameters if blacklight_params [ :search_field ] == 'lc_callnum' && blacklight_params [ :sort ] . nil? callnum_sortby = blacklight_config . sort_fields . values . select { | field | field . callnum_default == true } . first user_parameters [ :sort ] = callnum_sortby . field end end
sort call number searches by call number
sort call number searches by call number
# Rails.logger.info("es287_debug #{__FILE__} #{__LINE__} #{__method__} user_parameters = #{user_parameters.inspect}") # Rails.logger.info("es287_debug #{__FILE__} #{__LINE__} #{__method__} blacklight_params = #{blacklight_params.inspect}") #solr_parameters[:sort] = callnum_sortby.field #   Rails.logger.info("es287_debug #{__FILE__} #{__LINE__} #{__method__} user_parameters = #{user_parameters.inspect}")
user_parameters
<not_specific>