Browse Source

add encoding for eds articles query string

2.x
Paul Pound 1 year ago
parent
commit
29d6951b42
  1. 2
      modules/roblib_search_eds/js/eds_results_article.js

2
modules/roblib_search_eds/js/eds_results_article.js

@ -24,7 +24,7 @@ Drupal.behaviors.roblib_search_eds_articles = {
jQuery.each(data.queries, function (key7, query) {
queries.push(query.query);
})
var query_str = data.queries[0].query;
var query_str = encodeURI(data.queries[0].query);
var href_str = 'https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&scope=site&type=1&custid=uprince&groupid=main&profid=edsapi&mode=bool&lang=en&bquery=';
jQuery.each(data.documents, function (key, val) {
id = 'roblib-search-eds-article-' + counter;

Loading…
Cancel
Save