@ -70,7 +70,7 @@ Drupal.behaviors.roblib_search_eds = {
var query _str = data . queries [ 0 ] . query ;
var query _str = data . queries [ 0 ] . query ;
//var host = "http://eds-api.ebscohost.com";
//var host = "http://eds-api.ebscohost.com";
//var get = "/edsapi/rest/Search?query=history&searchmode=all&resultsperpage=20&pagenumber=1&sort=relevance&highlight=y&includefacets=y&facetfilter=1%2cSourceType%3aMagazines%2cSourceType%3aNews%2cSourceType%3aAcademic+Journals%2cSourceType%3aConference+Materials&view=detailed";
//var get = "/edsapi/rest/Search?query=history&searchmode=all&resultsperpage=20&pagenumber=1&sort=relevance&highlight=y&includefacets=y&facetfilter=1%2cSourceType%3aMagazines%2cSourceType%3aNews%2cSourceType%3aAcademic+Journals%2cSourceType%3aConference+Materials&view=detailed";
var href _str = 'http://search.ebscohost.com/login.aspx?direct=true&site=eds-live&scope=site&type=1&custid=uprince&groupid=main&profid=' + profile + ' &mode=bool&lang=en&bquery=' ;
var href _str = 'http://search.ebscohost.com/login.aspx?direct=true&site=eds-live&scope=site&type=1&custid=uprince&groupid=main&profid=lite &mode=bool&lang=en&bquery=' ;
jQuery ( '#roblib-search-eds-more' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results">See all results (' + data . recordCount + ')</a>' ) ;
jQuery ( '#roblib-search-eds-more' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results">See all results (' + data . recordCount + ')</a>' ) ;
jQuery ( '#roblib-eds-books-more-results' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results-button">See all results (' + data . recordCount + ')</a>' ) ;
jQuery ( '#roblib-eds-books-more-results' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results-button">See all results (' + data . recordCount + ')</a>' ) ;
jQuery ( '#roblib-eds-books-toc' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results">Books (' + data . recordCount + ')</a>' ) ;
jQuery ( '#roblib-eds-books-toc' ) . empty ( ) . append ( '<a href="http://proxy.library.upei.ca/login?url=' + href _str + query _str + '" id="eds-see_all_results">Books (' + data . recordCount + ')</a>' ) ;