Can't get more than 20 items from Filter Items

Answered

Comments

4 comments

  • Andreas Haugstrup Pedersen

    Hi Jonathan,

    The "limit" parameter determines how many items are returned. Set that to something higher than 20.

    $items = PodioItem::filter($app_id, array('limit' => 50));
    

    /Andreas

    0
    Comment actions Permalink
  • Jesper Ordrup

    Also if you set the limit higher than 500 it will ignore and use default instead

    0
    Comment actions Permalink
  • Jonathan Sala

    Worked it out, turns out we had an old version of Podio-PHP installed, so you could do options or attributes, but not both at the same time. We'll be updating it this weekend :).

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Beware that I just flipped the switch on a brand new version of podio-php so if you just grab the master branch you're going to get something new and different. Docs at: http://podio.github.io/podio-php/

    If you want the latest release of the old branch grab version 3 from https://github.com/podio/podio-php/releases

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk