Forums / Developer / fetch distinct contentobject / Comment58495
Fabien Scantamburlo
Friday 16 April 2010 5:23:13 am
Hi Nicolas,
The main_node_only parameter only retrieve the main location (or main node, as you want).The main_node_only parameter doesn't retrieve the content objects which the main node is outside the sub-tree.
I need to fetch all content objects in the sub-tree. But without the main_node_only parameter the query probably fetch same content object many times (cause of different locations in the sub-tree).
I need: one content object → one node.
Thanks for you help Nicolas.
Cheers,
Fabien.