Commit 491453ae authored by Phil Höfer's avatar Phil Höfer
Browse files

Nachrichten-Fokus filter jetzt Ergebnisse ohne Datum

parent 1654c8d1
......@@ -181,6 +181,9 @@ class MetaGer
// authorize
// misc (WiP)
if ($this->fokus == "nachrichten") {
$this->results = array_filter($this->results, function ($v, $k) {
return !is_null($v->getRank());
}, ARRAY_FILTER_USE_BOTH);
uasort($this->results, function ($a, $b) {
$datea = $a->getDate();
$dateb = $b->getDate();
......
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