mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve query filters
This commit is contained in:
parent
a0f27068ab
commit
a21b53bb7b
@ -175,6 +175,8 @@ abstract class QueryFilters
|
|||||||
|
|
||||||
public function is_deleted($value)
|
public function is_deleted($value)
|
||||||
{
|
{
|
||||||
|
if($value == 'true')
|
||||||
|
return $this->builder->where('is_deleted', $value)->withTrashed();
|
||||||
|
|
||||||
return $this->builder->where('is_deleted', $value);
|
return $this->builder->where('is_deleted', $value);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user