Help needed with using Tagger and TaggerGetResourcesWhere snippets:
Anyone knows why this snippet call doesn’t produce output?
&where=`[[!TaggerGetResourcesWhere? &groups=`5`]]`
&showHidden=`0`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&tpl=`ProductThumbChunk`
&sortby=`{"createdon":"DESC"}`
]]
The snippet resides in a resource (id: 275) which is called by this:
&groups=`5`
&showUnused=`1`
&target=`275`
&rowTpl=`ProductTagsMenuRowChunk`
]]
The resource is set to isfolder
so that the FURL ends with /
The snippets works perfectly in another place. The only difference is that in this case the getResources call affects scProductResources and not default modResource documents.
The [[!TaggerGetResourcesWhere? &groups=`5`]]
produces the following output:
["EXISTS (SELECT 1 FROM `km_tagger_tag_resources` r WHERE r.tag IN (38) AND r.resource = modResource.id)"]
Any hints?