We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15175
    • 116 Posts
    I am trying to filter my search result in order to exclude container documents from my results.

    I thought the best way would be to filter according to the document template, so I have tried both the template name and the ID, but neither seem to work:

    &filter=`template,56,2`
    
    &filter=`template,shop-category,2`


    Should this work?

    I’m using 1.8.1 - I tried the latest version but got a parse error.
      • 15175
      • 116 Posts
      I was hoping to get this working so it was dynamic, but it looks like it’s not going to work. What I’ve done though is just include a tv for &parents on the search result page which does the job.