diff --git a/themes/bootstrap3/templates/combined/results-ajax.phtml b/themes/bootstrap3/templates/combined/results-ajax.phtml index 6089b75de4241a9da4b9fe76aee35904c70029e6..fdbed6eb826946d1a3253c13f64c521f8c0ef452 100644 --- a/themes/bootstrap3/templates/combined/results-ajax.phtml +++ b/themes/bootstrap3/templates/combined/results-ajax.phtml @@ -13,7 +13,7 @@ $lookforEncoded = urlencode($lookfor); $loadJs = <<<JS $(document).ready(function(){ - var url = path + '/Combined/Result?id=$searchClassIdEncoded&lookfor=$lookforEncoded'; + var url = VuFind.getPath() + '/Combined/Result?id=$searchClassIdEncoded&lookfor=$lookforEncoded'; $('$targetIdHtmlEscaped').load(url, '', function(responseText) { if (responseText.length == 0) { $('$targetIdHtmlEscaped').hide();