diff --git a/targets/passthru_results/theme/roblib-search-passthru.tpl.php b/targets/passthru_results/theme/roblib-search-passthru.tpl.php
index bace589..61b29d4 100644
--- a/targets/passthru_results/theme/roblib-search-passthru.tpl.php
+++ b/targets/passthru_results/theme/roblib-search-passthru.tpl.php
@@ -9,7 +9,16 @@
-
-
+
+
+
+
+
diff --git a/targets/passthru_results/theme/theme.inc b/targets/passthru_results/theme/theme.inc
index c73925a..ee6b15b 100644
--- a/targets/passthru_results/theme/theme.inc
+++ b/targets/passthru_results/theme/theme.inc
@@ -12,9 +12,10 @@ function roblib_search_passthru_preprocess_roblib_search_passthru(&$variables) {
$query = $_GET['roblib_query'];
}
else {
- return '';
+ $query = '';
}
}
+ $variables['query'] = urlencode($query);
$spinner_path = $base_url . '/' . drupal_get_path('module', 'roblib_search') . '/img/' . 'spinner.gif';
$variables['spinner_path'] = $spinner_path;
$scholar_search_url = $base_url . '/roblib_search/passthru/scholar/ajax/' . urlencode($query);