We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38125
    • 5 Posts
    Is it possible to filter document with getResources with comma in tvFilters clause?
    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?
      • 9207 ☆ A M B ☆
      • 2,475 Posts
      I don't think that's possible with the current version, unfortunately.