From 9d429d8a23dd2b64896a39758cc91a8c85e4250d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Markus=20M=C3=A4chler?= <markus.maechler@bithost.ch>
Date: Wed, 13 May 2015 13:55:07 -0400
Subject: [PATCH] Fixes RSS feed not available for advanced search

---
 module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php b/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php
index 0a7a4fab839..922798c80d1 100644
--- a/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php
+++ b/module/VuFind/src/VuFind/View/Helper/Root/ResultFeed.php
@@ -145,7 +145,7 @@ class ResultFeed extends AbstractHelper implements TranslatorAwareInterface
         $feed->setOpensearchTotalResults($results->getResultTotal());
         $feed->setOpensearchItemsPerPage($params->getLimit());
         $feed->setOpensearchStartIndex($results->getStartRecord() - 1);
-        $feed->setOpensearchSearchTerms($params->getQuery()->getString());
+        $feed->setOpensearchSearchTerms($params->getQuery()->getAllTerms());
 
         $records = $results->getResults();
         foreach ($records as $current) {
-- 
GitLab