Skip to content
Snippets Groups Projects
Commit 78d375aa authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'Bugfix' into 'development'

Bugfix



See merge request !319
parents 133148f2 62dbb2da
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -1065,7 +1065,7 @@ class MetaGer ...@@ -1065,7 +1065,7 @@ class MetaGer
public function nextSearchLink() public function nextSearchLink()
{ {
if (isset($this->next) && count($this->next['engines']) > 0) { 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']);
$requestData['next'] = md5(serialize($this->next)); $requestData['next'] = md5(serialize($this->next));
$link = action('MetaGerSearch@search', $requestData); $link = action('MetaGerSearch@search', $requestData);
......
...@@ -68,17 +68,20 @@ abstract class Searchengine ...@@ -68,17 +68,20 @@ abstract class Searchengine
} else { } else {
$q = $metager->getQ(); $q = $metager->getQ();
} }
$this->getString = $this->generateGetString($q, $metager->getUrl(), $metager->getLanguage(), $metager->getCategory()); $this->getString = $this->generateGetString($q, $metager->getUrl(), $metager->getLanguage(), $metager->getCategory());
die($this->getString);
$this->hash = md5($this->host . $this->getString . $this->port . $this->name); $this->hash = md5($this->host . $this->getString . $this->port . $this->name);
$this->resultHash = $metager->getHashCode(); $this->resultHash = $metager->getHashCode();
} }
abstract public function loadResults($result); abstract public function loadResults($result);
public function getLast(MetaGer $metager, $result){ public function getLast(MetaGer $metager, $result)
{
} }
public function getNext(MetaGer $metager, $result){ public function getNext(MetaGer $metager, $result)
{
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment