From a624c929ce04bdf92c520eb9923e9ba72b9c5b4f Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Mon, 22 Aug 2016 15:17:13 -0300 Subject: [PATCH] fixed the see all results link for the islandscholar target so it actually hits the islandscholar search page --- targets/islandscholar/js/islandscholar_results.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/targets/islandscholar/js/islandscholar_results.js b/targets/islandscholar/js/islandscholar_results.js index 4d8033e..e90a2c0 100644 --- a/targets/islandscholar/js/islandscholar_results.js +++ b/targets/islandscholar/js/islandscholar_results.js @@ -88,9 +88,8 @@ Drupal.behaviors.roblib_search_islandscholar = { qtipify(divs, content, 'Abstract'); var number = data.response.numFound; var query = encodeURIComponent(data.responseHeader.params.q);//.'milk'; - var scholarUrl = "http://www.islandscholar.ca/islandora/solr/search/" jQuery('#roblib-search-islandscholar-more').empty().append('see all ' + number + ' results'); + ' href="http://www.islandscholar.ca/islandora/search/' + query + '?type=dismax">see all results'); } });