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:
commit
419a4d3d5e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user