1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #6856 from turbo124/v5-develop

Improve query filters
This commit is contained in:
David Bomba 2021-10-18 10:37:23 +11:00 committed by GitHub
commit 419a4d3d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,8 @@ abstract class QueryFilters
public function is_deleted($value)
{
if($value == 'true')
return $this->builder->where('is_deleted', $value)->withTrashed();
return $this->builder->where('is_deleted', $value);