diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index 5c55376c8572..3e8afab401df 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -718,10 +718,10 @@ public function postCustom(CustomAssetReportRequest $request) if ($request->filled('exclude_archived')) { $assets->notArchived(); } - if ($request->input('deleted_assets') == '1') { + if ($request->input('deleted_assets') == 'include_deleted') { $assets->withTrashed(); } - if ($request->input('deleted_assets') == '0') { + if ($request->input('deleted_assets') == 'only_deleted') { $assets->onlyTrashed(); } diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index cc0ec158af39..0702f0332e48 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -434,15 +434,15 @@