3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-06 08:28:49 +00:00

attempt to sort chronologically, can not resort still

This commit is contained in:
Godfrey M
2025-09-18 11:01:40 -07:00
parent dcbb09bbd7
commit 51ce570eb3
4 changed files with 32 additions and 17 deletions

View File

@ -1127,7 +1127,8 @@ class ReportsController extends Controller
'assignedTo' => function($query){
$query->withTrashed();
}
]);
])->orderByDesc('checkout_acceptances.created_at');
if ($showDeleted) {
$query->withTrashed();