app/helpers/search_helper.rb
##
# Return a label for the currently selected search field.
# This overrides the default blacklight helper, which
# removes the label if it is the default search field.
#
# See LAG-4069 for the reasoning behind this change.
# Overrides:
# https://github.com/projectblacklight/blacklight/blob/bb769cdd4f1b7373a0797c731ae2949bf051e86f/app/helpers/blacklight/configuration_helper_behavior.rb#L53
Return a label for the currently selected search field.
This overrides the default blacklight helper, which
removes the label if it is the default search field.

See LAG-4069 for the reasoning behind this change.
Return a label for the currently selected search field . This overrides the default blacklight helper which removes the label if it is the default search field . See LAG - 4069 for the reasoning behind this change .
def constraint_query_label(localized_params = params)
    if !label_for_search_field(localized_params[:search_field]).present?
      'Any Field' 
    else
      label_for_search_field(localized_params[:search_field])
    end
  end
def constraint_query_label ( localized_params = params ) if ! label_for_search_field ( localized_params [ :search_field ] ) . present? 'Any Field' else label_for_search_field ( localized_params [ :search_field ] ) end end
Return a label for the currently selected search field.
Return a label for the currently selected search field .
# Force a label for the default search field
localized_params
<not_specific>
params
<not_specific>