Sort header search results by date

This commit is contained in:
Retro_Guy 2021-03-17 03:06:37 -07:00
parent 51d3f3b603
commit 696cbd6f17
1 changed files with 3 additions and 0 deletions

View File

@ -329,6 +329,9 @@ function get_header_search($group, $terms) {
}
$dbh=null;
}
usort($overview, function($b, $a) {
return $a['date'] <=> $b['date'];
});
return $overview;
}