Commit 33eb159a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch...

Merge branch '63-der-parameter-out-wird-in-einigen-fallen-fur-den-sitesearchlink-etc-ubernommen' into 'master'

Der Parameter "out" wird für die Sitesearch nun nicht mehr übernommen

Closes #63

See merge request !65
parents 47631a18 ead3ed7f
......@@ -683,7 +683,7 @@ class MetaGer
public function generateSiteSearchLink($host)
{
$host = urlencode($host);
$requestData = $this->request->except('page');
$requestData = $this->request->except(['page','out']);
$requestData['eingabe'] .= " site:$host";
$requestData['focus'] = "web";
$link = action('MetaGerSearch@search', $requestData);
......@@ -693,7 +693,7 @@ class MetaGer
public function generateRemovedHostLink ($host)
{
$host = urlencode($host);
$requestData = $this->request->except('page');
$requestData = $this->request->except(['page','out']);
$requestData['eingabe'] .= " -host:$host";
$link = action('MetaGerSearch@search', $requestData);
return $link;
......@@ -702,7 +702,7 @@ class MetaGer
public function generateRemovedDomainLink ($domain)
{
$domain = urlencode($domain);
$requestData = $this->request->except('page');
$requestData = $this->request->except(['page','out']);
$requestData['eingabe'] .= " -domain:$domain";
$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