Browse Source

changes requested by Melissa in redmine 7658 to Add parentheses to bento box searches sent to EBSCO

2.x-ebsco
ppound 6 years ago
parent
commit
4157ab9e48
  1. 2
      targets/eds/roblib_search_eds.module

2
targets/eds/roblib_search_eds.module

@ -267,7 +267,7 @@ function roblib_search_eds_get_results($query = NULL, $type = 'Articles') {
$config = roblib_search_eds_build_config_arr($type);
$number_per_page = variable_get('roblib_search_eds_num_results', '5');
$query .= $limiters;
$query = '(' . $query . ') ' . $limiters;
$search = array('lookfor' => $query, 'type' => 'ALLFields', 'index' => 'AllFields', 'q' => 'ebsco/results', 'op' => 'Search');
$eds_api = new EBSCOAPI($config);
$is_local_ip = $eds_api->connector()->isGuestIPAddress($_SERVER["REMOTE_ADDR"]);

Loading…
Cancel
Save