From 48249fa0bd788f3b55db2246f676d362e4f44349 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Fri, 27 Jan 2017 10:57:04 +0100
Subject: [PATCH] =?UTF-8?q?Der=20Out=20Parameter=20wird=20nun=20f=C3=BCr?=
 =?UTF-8?q?=20das=20Weitersuchen=20Feature=20in=20den=20richtigen=20F?=
 =?UTF-8?q?=C3=A4llen=20=C3=BCbernommen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/MetaGer.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/MetaGer.php b/app/MetaGer.php
index 853fdc82f..635e3e0fc 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -1066,7 +1066,10 @@ class MetaGer
     public function nextSearchLink()
     {
         if (isset($this->next) && isset($this->next['engines']) && count($this->next['engines']) > 0) {
-            $requestData         = $this->request->except(['page', 'out']);
+            $requestData = $this->request->except(['page', 'out']);
+            if ($this->request->input('out', '') !== "results" && $this->request->input('out', '') !== '') {
+                $requestData["out"] = $this->request->input('out');
+            }
             $requestData['next'] = md5(serialize($this->next));
             $link                = action('MetaGerSearch@search', $requestData);
         } else {
-- 
GitLab