mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add default prop to is_deleted flag
This commit is contained in:
parent
8ef96a3f55
commit
1d8d505c21
@ -244,7 +244,7 @@ abstract class QueryFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function is_deleted($value)
|
public function is_deleted($value = 'true')
|
||||||
{
|
{
|
||||||
if ($value == 'true') {
|
if ($value == 'true') {
|
||||||
return $this->builder->where('is_deleted', $value)->withTrashed();
|
return $this->builder->where('is_deleted', $value)->withTrashed();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user