Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cannot set depth with includeTVs #65

shaunmorrison opened this Issue Mar 18, 2012 · 2 comments


None yet
2 participants


I have the following call


(with backticks obviously). The issue is that everything is returned from all levels i.e. &depth is ignored. The only way I can get getResources to respect &depth is if I remove &includeTVs. Make sense?

The template contains nothing but divs and Lorem Ipsum text. I have Articles and have users with specific media permissions.


  • PHP 5.3.6
  • Apache/2.2.21
  • OSX 10.6.8 (MAMP)
  • MySQL client version 5.5.9


  • Version: 2.2.0-pl2 (traditional)

Right - not sure if I'm being an idiot or not. If I set &depth to '0' then it only goes down to one level (as desired). I would have thought '0' would go through all levels?


opengeek commented Jun 15, 2012

0 means do not include any children of the specified parents - you have to specify a depth explicitly...

@opengeek opengeek closed this Jun 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment