PHP client: filter limit
Hi,
I am trying to retrieve all the items from one of my applications through the PHP client.
$items = PodioItem::filter($app_id);
The problem is that I only retrieve 20 items and there is around 150 items in my application. I therefore tried using the limit option:
$items = PodioItem::filter($app_id, array('limit' => 150));
This results in some error and the page being blanc. If I change 150 to around 30 it works but when I go above 32 the page becomes blanc again. Is there som max limit on the filter method? Is there some way I can retrieve all 150 items?
-
I have the exact same experience!
My script is authenticated and returns results but not ALL the results. I can get as many as 50 using the array('limit'=>xx) option. My app has 110 items.ALSO, if I do 'print_r(PodioItem::filter($app_id))' the output DOES report '[total] => 110' But the array dump is only 20 items.
My php memory limit is set at 512MB. And 'print_r(error_get_last());' is empty (error reporting is turned on).
Please sign in to leave a comment.
Comments
4 comments