Hi,
I have a general question about getResources. I tried to use &tvFilters in getResources. What I’m getting is somehow really strange. getResources shows all the resources I wanted to see but also some other resources which don’t have an entry in the mysql table "modx_site_tmplvar_contentvalues" regarding to the filtered tv.
e.g. : [[!getResources? &parents=`0` &resources=`-[[*id]]` &tpl=`reviewRankingOutput` &includeTVs=`1` &processTVs=`1` &tvPrefix=`` &depth=`10` &limit=`15` &tvFilters=`reviewBriefingType2==[[*reviewBriefingType2]]||reviewBriefingType3==[[*reviewBriefingType3]]` &sortbyTV=`reviewRatingScore` &sortdir=`DESC`]]
I know that duplicated resources which had a value in the filtered template variable will be shown. But when I switch back to the original template and erase the value and switch again to another template. The resource will be shown too.
I’m using Modx 2.1.1 pl and getResources 1.3.0