From 4fc3d8146a7c6468482562f5ec2459dc5e4dc731 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Fri, 8 Mar 2019 13:57:02 +0100
Subject: [PATCH] removed out parameter from focus links

---
 app/MetaGer.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/MetaGer.php b/app/MetaGer.php
index b112dd3c1..957976860 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -1307,14 +1307,13 @@ class MetaGer
 
     public function generateSearchLink($fokus, $results = true)
     {
-        $except = ['page', 'next'];
+        $except = ['page', 'next', 'out'];
         # Remove every Filter
         foreach ($this->sumaFile->filter->{"parameter-filter"} as $filterName => $filter) {
             $except[] = $filter->{"get-parameter"};
         }
         $requestData = $this->request->except($except);
         $requestData['focus'] = $fokus;
-        $requestData['out'] = "";
 
         $link = action('MetaGerSearch@search', $requestData);
         return $link;
-- 
GitLab