iam using
$clients = Client::all();
and i get only back 15 client entries of 715
how can i get all clients?
iam using
$clients = Client::all();
and i get only back 15 client entries of 715
how can i get all clients?
The results are paged: http://docs.invoiceninja.com/en/latest/api.html#optional-settings
You can call Config::setPerPage(500);
to increase the limit.
More info here: https://github.com/invoiceninja/sdk-php/issues/21
ok thanx you but how do i get the next stack 501 to 715? because
Config::setPerPage(9999);
give me also only 500
In our next release we’ll remove the limit for self host installs.
Until then you can change the code here:
https://github.com/invoiceninja/invoiceninja/blob/master/app/Constants.php#L388