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

Feature eingebaut

parent 8d2211b6
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -10,6 +10,10 @@ class Minisucher extends Searchengine
public function __construct(\SimpleXMLElement $engine, \App\MetaGer $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)
......
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