diff options
author | Matthias <ilovemilk@wusa.io> | 2020-09-20 14:14:12 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-09-20 14:14:12 +0300 |
commit | bee8d9351abd3a75a56ce45e98a51511e874ab83 (patch) | |
tree | 9be6a181721d08bd5ed6b2f0b55e952c8a45a498 /lib/Service | |
parent | 95575d7688e50dfaddc34f9353f87556d61b82e4 (diff) |
fix recovery and history
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/DetectionService.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Service/DetectionService.php b/lib/Service/DetectionService.php index 125761b..1675f8a 100644 --- a/lib/Service/DetectionService.php +++ b/lib/Service/DetectionService.php @@ -100,7 +100,9 @@ class DetectionService { } } } - + usort($detectionObjects, function ($a, $b) { + return $b->getId() - $a->getId(); + }); return $detectionObjects; } |