• getresources, comma in &tvFilters clause#

  • vicdnow Reply #1, 4 months, 4 weeks ago

    Reply
    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?


  • Everett Reply #2, 4 months, 4 weeks ago

    Reply
    I don't think that's possible with the current version, unfortunately.