We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29861
    • 59 Posts
    Can anyone confirm that? It seems that tvFilters works with the data in the database and default and inherit values aren’t?
      • 22303 MODX Staff
      • 10,725 Posts
      Confirmed; from the documentation:
      NOTE: This only looks at the raw value set for specific Resource, i. e. there must be a value specifically set for the Resource and it is not evaluated.

      This was implemented like this first for the sake of efficiency, because in order to filter a large result set on the processed values, you have to first process every single TV value for every single Resource returned by the most restrictive selection properties you are using other than tvFilters.

      If you would like, you can enter a feature request to allow filtering on processed TV’s at http://github.com/opengeek/getResources/issues (to make it official and all), but I am slowly but surely working on post-query filtering (in conjunction with post-query sorting) options that will support this for a future release of getResources.