mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-09 00:54:37 -04:00
Fixes for tests
This commit is contained in:
parent
7240f4f1e7
commit
f1ac238917
@ -308,7 +308,7 @@ abstract class QueryFilters
|
|||||||
{
|
{
|
||||||
return $this->builder->where(function ($query) {
|
return $this->builder->where(function ($query) {
|
||||||
$query->whereHas('client', function ($sub_query) {
|
$query->whereHas('client', function ($sub_query) {
|
||||||
$sub_query->where('is_deleted', 0)->where('deleted_at', null);
|
$sub_query->where('is_deleted', 0);
|
||||||
})->orWhere('client_id', null);
|
})->orWhere('client_id', null);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user