Skip to content

Commit

Permalink
Filter out bad / half-deleted reports. Closes #116.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Aug 25, 2020
1 parent 16ab033 commit 4f8f9b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Reporting/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public static function all()
->map(function ($id) {
return static::find($id);
})
->filter()
->sortByDesc
->date()
->values();
Expand Down

0 comments on commit 4f8f9b3

Please sign in to comment.