Browse Source

modified search all url for ebscohost to always use eds

2.x-ebsco
Paul Pound 10 years ago
parent
commit
61324cc967
  1. 2
      targets/eds/js/eds_results.js
  2. 2
      targets/eds/js/eds_results_article.js

2
targets/eds/js/eds_results.js

@ -1,7 +1,7 @@
Drupal.behaviors.roblib_search_eds = { Drupal.behaviors.roblib_search_eds = {
attach: function(context, settings) { attach: function(context, settings) {
$url = settings.roblib_search_eds.search_url; $url = settings.roblib_search_eds.search_url;
profile = settings.roblib_search_eds.eds_profile; profile = 'eds'; //settings.roblib_search_eds.eds_profile;
jQuery.getJSON($url, function(data) { jQuery.getJSON($url, function(data) {
var items = []; var items = [];
var numberOfDocs = 0; var numberOfDocs = 0;

2
targets/eds/js/eds_results_article.js

@ -1,7 +1,7 @@
Drupal.behaviors.roblib_search_eds_articles = { Drupal.behaviors.roblib_search_eds_articles = {
attach: function(context, settings) { attach: function(context, settings) {
$url = settings.roblib_search_eds_articles.search_url; $url = settings.roblib_search_eds_articles.search_url;
profile = settings.roblib_search_eds.eds_profile; profile = 'eds'; //settings.roblib_search_eds.eds_profile;
jQuery.getJSON($url, function(data) { jQuery.getJSON($url, function(data) {
var items = []; var items = [];
var numberOfDocs = 0; var numberOfDocs = 0;

Loading…
Cancel
Save