在modx中,我有一个资源可以深入两个文件夹。我试图只显示父目录中的资源(而不是其子目录中的资源)。我getResources调用父资源中记载:getResources显示所有子目录
[[!getResources?
&parents=`[[*id]]`
&showHidden=`1`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&limit=`0`
&tpl=`Attractions Section`
&sortby=`menuindex`
&depth=`1`
]]
据我的理解,深度参数应控制GR去有多深,以显示其资源。我将深度设置为0和1,并且它仍然显示子目录中的所有资源。我如何获取它只显示当前目录的资源?