Share » Forums » Developer » Pagination (ver. 3.4) - problem when...

Pagination (ver. 3.4) - problem when only few objects

Pagination (ver. 3.4) - problem when only few objects

Thursday 14 July 2005 5:07:39 am - 2 replies

Author Message

David Eriksson

Friday 15 July 2005 12:43:43 am

eventlist=fetch( content, tree, hash(
                parent_node_id, $node.node_id,
                offset, $view_parameters.offset,
                sort_by,array(array('attribute',false(),182)),
                class_filter_type, include,
                class_filter_array, array(24),
                        array('838', '<' , currentdate()),
                        array('838', '=' , 0),
                limit, $numberOfObjects
                ))

Aren't you missing 'attribute_filter' between array(24) and array('838', ...)?

/David

Helle Andersen

Friday 15 July 2005 1:41:43 am

Ups, sorry - I figured it out: it was simply a matter of parent_node_id, 17701, i.e. sorting from a specific node instead of using $node.node_id.
When you use node id everything works fine.

So you don't need to use sction show or anything - google only emerges if the number of objects is larger than 10.

And you are right about missing the second part of the array ...

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

36 542 Users on board!

Forums menu