Paging reverse_related_objects

Author Message

Ivo Lukac

Thursday 15 January 2009 1:41:34 am

Is there a way?

Btw objects are related over multiple object relation list so simple fetch is not enough.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

André R.

Thursday 15 January 2009 5:18:30 am

There is a way in 4.1:
http://issues.ez.no/IssueView.php?Id=12651&activeItem=22

For 4.0.x and lower you'll have to write a custom fetch function or use offset and max parameters on the foreach loop function when you loop over the relations.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.