Commit 4fc3d814 authored by Dominik Hebeler's avatar Dominik Hebeler

removed out parameter from focus links

parent 30aeb5a1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment