Share » Forums » Setup & design » Bug in limiting results from fetching...

Bug in limiting results from fetching tree?

Bug in limiting results from fetching tree?

Thursday 08 September 2005 5:30:48 am - 2 replies

Modified on Thursday 08 September 2005 5:38:26 am by Kjell Inge Sandvik

Author Message

Kristof Coomans

Thursday 08 September 2005 6:05:07 am

I think there's a mistake in your template code. You've closed the hash with the parameters after array('picture'), but limit and sort_by should be keys inside the hash.

This is the right code:

{def $bilder=fetch(content,tree,hash(parent_node_id,77, class_filter_type,include,class_filter_array,array('picture'),
limit,6, sort_by,array('published',false())))}

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Kjell Inge Sandvik

Thursday 08 September 2005 6:29:42 am

Ah of course! Thank you! My eyes did not notice that one :-)

Sandvik Web & Data

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu