From dc604e801c42ef8de010db7da14f89419878b425 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 10 Dec 2015 11:03:00 -0500
Subject: [PATCH] Fixed refactor-related bug.

---
 themes/bootstrap3/templates/combined/results-ajax.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap3/templates/combined/results-ajax.phtml b/themes/bootstrap3/templates/combined/results-ajax.phtml
index 6089b75de42..fdbed6eb826 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();
-- 
GitLab