Sort header search results by date
This commit is contained in:
parent
51d3f3b603
commit
696cbd6f17
|
@ -329,6 +329,9 @@ function get_header_search($group, $terms) {
|
|||
}
|
||||
$dbh=null;
|
||||
}
|
||||
usort($overview, function($b, $a) {
|
||||
return $a['date'] <=> $b['date'];
|
||||
});
|
||||
return $overview;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue