Commit 9b6eb1ea authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Feature eingebaut

parent 8d2211b6
...@@ -10,6 +10,10 @@ class Minisucher extends Searchengine ...@@ -10,6 +10,10 @@ class Minisucher extends Searchengine
public function __construct(\SimpleXMLElement $engine, \App\MetaGer $metager) public function __construct(\SimpleXMLElement $engine, \App\MetaGer $metager)
{ {
parent::__construct($engine, $metager); parent::__construct($engine, $metager);
# Für die Newssuche stellen wir die Minisucher auf eine Sortierung nach Datum um.
if($metager->getFokus() === "nachrichten"){
$this->getString .= "sort=" . $this->urlencode("documentDate desc");
}
} }
public function loadResults($content) public function loadResults($content)
......
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