|
|
@ -63,7 +63,7 @@ class RoblibSearchEdsController extends ControllerBase { |
|
|
|
$search = array('lookfor' => $query, 'type' => 'ALLFields', 'index' => 'AllFields', 'q' => 'ebsco/results', 'op' => 'Search'); |
|
|
|
$search = array('lookfor' => $query, 'type' => 'ALLFields', 'index' => 'AllFields', 'q' => 'ebsco/results', 'op' => 'Search'); |
|
|
|
$eds_api = new EBSCOAPI($eds_config); |
|
|
|
$eds_api = new EBSCOAPI($eds_config); |
|
|
|
$is_local_ip = $eds_api->connector()->isGuestIPAddress($_SERVER["REMOTE_ADDR"]); |
|
|
|
$is_local_ip = $eds_api->connector()->isGuestIPAddress($_SERVER["REMOTE_ADDR"]); |
|
|
|
$eds_api->isGuest(!$is_local_ip); |
|
|
|
$eds_api->isGuest(FALSE); |
|
|
|
|
|
|
|
|
|
|
|
$output = $eds_api->apiSearch($search, $filters, 1, $number_per_page); |
|
|
|
$output = $eds_api->apiSearch($search, $filters, 1, $number_per_page); |
|
|
|
$output['is_local_ip'] = $is_local_ip; |
|
|
|
$output['is_local_ip'] = $is_local_ip; |
|
|
|