fixnute radenie reportov podla priority,

pridane podfarbenie pre rozne priority,
doplnena skupina do report boxu,
odstranene debug tlacitka na dashboard
This commit is contained in:
2025-05-05 00:06:47 +02:00
parent 745f6495d1
commit 88cc225e4d
4 changed files with 60 additions and 22 deletions

View File

@ -203,7 +203,7 @@ function reportGetAll($status = null) {
global $db;
if ($status === null) $status = array(0, 1, 2, 3);
return $db->select('reports', '*', [
'ORDER' => ['report_priority', 'ordnum'],
'ORDER' => ['report_priority' => 'DESC', 'ordnum' => 'ASC'],
'report_status' => $status
]);
}