-
- 247 Posts
For example
[[!getPage? &element=`getResources` &parents=`5,6,7` &resources=`-10` &tpl=`myRowTpl`]]
If I have a resource that has 5 and 6 as a parent, getPage returns duplicates.
Is there a way to return items as an array, or remove the duplicates?
-
- 24,544 Posts
If I have a resource that has 5 and 6 as a parent, getPage returns duplicates.
I'm not sure what you're saying here. A page can only have one parent. Is it possible that you have two identical pages, one that has a parent of 5 and the other that has a parent of 6?