app/helpers/blacklight_advanced_search/advanced_helper_behavior.rb
# Fill in default from existing search, if present
# -- if you are using same search fields for basic
# search and advanced, will even fill in properly if existing
# search used basic search on same field present in advanced.
Fill in default from existing search, if present
if you are using same search fields for basic
search and advanced, will even fill in properly if existing
search used basic search on same field present in advanced.
Fill in default from existing search if present if you are using same search fields for basic search and advanced will even fill in properly if existing search used basic search on same field present in advanced .
def select_menu_for_field_operator
      options = {
          t('blacklight_advanced_search.all') => 'AND',
          t('blacklight_advanced_search.any') => 'OR'
      }.sort
      select_tag(:op, options_for_select(options, params[:op]), class: 'input-small', aria: { label: 'filter-options' } )
    end
def select_menu_for_field_operator options = { t ( 'blacklight_advanced_search.all' ) => 'AND' , t ( 'blacklight_advanced_search.any' ) => 'OR' } . sort select_tag ( :op , options_for_select ( options , params [ :op ] ) , class : 'input-small' , aria : { label : 'filter-options' } ) end
Fill in default from existing search, if present
 if you are using same search fields for basic
search and advanced, will even fill in properly if existing
search used basic search on same field present in advanced.
Fill in default from existing search if present if you are using same search fields for basic search and advanced will even fill in properly if existing search used basic search on same field present in advanced .