|
|
@ -89,6 +89,7 @@ class Room |
|
|
|
[ |
|
|
|
[ |
|
|
|
'name' => $namespace['displayName'], |
|
|
|
'name' => $namespace['displayName'], |
|
|
|
'date' => $date, |
|
|
|
'date' => $date, |
|
|
|
|
|
|
|
'time' => $time, |
|
|
|
'total' => $total |
|
|
|
'total' => $total |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
@ -125,6 +126,7 @@ class Room |
|
|
|
$pending['namespace'] |
|
|
|
$pending['namespace'] |
|
|
|
), |
|
|
|
), |
|
|
|
'date' => $date, |
|
|
|
'date' => $date, |
|
|
|
|
|
|
|
'time' => $time, |
|
|
|
'total' => $total |
|
|
|
'total' => $total |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
@ -133,7 +135,7 @@ class Room |
|
|
|
array_multisort( |
|
|
|
array_multisort( |
|
|
|
array_column( |
|
|
|
array_column( |
|
|
|
$namespaces, |
|
|
|
$namespaces, |
|
|
|
'total' |
|
|
|
'time' |
|
|
|
), |
|
|
|
), |
|
|
|
SORT_DESC, |
|
|
|
SORT_DESC, |
|
|
|
$namespaces |
|
|
|
$namespaces |
|
|
|