vicdnow Reply #1, 4 months, 4 weeks ago
Is it possible to filter document with getResources with comma in tvFilters clause?
this
works;
this:
diesn't, as there are comas in tvFilters and getResorses trying to split the clause for doing "and" filtering.
Are there any escape sequences or something like?
this
[[getResources? &tvPrefix=`` &sortby=`{"id":"ASC"}` &tpl=`RubriqueListTpl` &depth=`1` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &parents=`0` &tvFilters=`tv_rubrique_tags==%[[*id]]%`]]works;
this:
[[getResources? &tvPrefix=`` &sortby=`{"id":"ASC"}` &tpl=`RubriqueListTpl` &depth=`1` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &parents=`0` &tvFilters=`tv_rubrique_tags==%,[[*id]],%`]]diesn't, as there are comas in tvFilters and getResorses trying to split the clause for doing "and" filtering.
Are there any escape sequences or something like?