mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
include archived clients
This commit is contained in:
parent
4799b2e86c
commit
76f4530ffd
@ -52,7 +52,7 @@ class ClientApiController extends BaseAPIController
|
|||||||
{
|
{
|
||||||
$clients = Client::scope()
|
$clients = Client::scope()
|
||||||
->with($this->getIncluded())
|
->with($this->getIncluded())
|
||||||
->orderBy('created_at', 'desc');
|
->orderBy('created_at', 'desc')->withTrashed();
|
||||||
|
|
||||||
// Filter by email
|
// Filter by email
|
||||||
if (Input::has('email')) {
|
if (Input::has('email')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user