diff --git a/module/VuFind/src/VuFind/View/Helper/Blueprint/Search.php b/module/VuFind/src/VuFind/View/Helper/Blueprint/Search.php
index e9d436a1cd5ea85e5d10f8b67ed19f725ca740a2..ecbbcead9737f5203ffd89f251da1ec289370b80 100644
--- a/module/VuFind/src/VuFind/View/Helper/Blueprint/Search.php
+++ b/module/VuFind/src/VuFind/View/Helper/Blueprint/Search.php
@@ -66,7 +66,7 @@ class Search extends AbstractHelper
                     $html .= ', ';
                 }
                 $html .= '<a href="'
-                    . $view->results->getUrlQuery()
+                    . $results->getUrlQuery()
                         ->replaceTerm($term, $data['new_term'])
                     . '">' . $view->escapeHtml($word) . '</a>';
                 if (isset($data['expand_term']) && !empty($data['expand_term'])) {