Hi,
for me, the &resources parameter does not WAD.
documentstructure is
id25 (resource as container)
-id26 (resource)
-id27 (resource)
snippet call:
[[!getResources? &parents=`25` &resources=`27` &tpl=`rbox` &includeContent=`1`]]
but what is being output is resource id26
and id27...
I then checked the snippet code and found around line 148:
$criteria->orCondition(array('modResource.id:IN' => $include),null,10);
which i changed to
$criteria->andCondition(array('modResource.id:IN' => $include),null,10);
(short: changed "orCondition" to "andCondition")
now it works as I would intend it to WAD.
But I would like to avoid hacking snippets from package management, since they may get overwritten with future updates.
Is this a bug, or is it me doing something not in the correct way?
Thanks
Alex
PS: I dont have a github account, otherwise i would have filed a bugreport there. (if i could be sure it is a bug anyway, hehe)