We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6745
    • 45 Posts
    Is it possible for me to filter on document id’s

    i want to filter out all the documents that have a greater ID than the current ID im on.

    so like for instants if i have 10 id’s

    10
    9
    8
    7
    6
    5
    4
    3
    2
    1

    and i am on document 8 i want ditto to filter out 9 and 10 so that on that page he will only show documents 8 till 1.
    is that possible?

    and how do i do that?

    greetz,
    davincio
      • 26767
      • 3 Posts
      Look here -> http://www.pogwatch.com/ditto/ditto-filters.html

      for this
      Multiple filters can be used, separated by the "|" pipe symbol. Documents that match any of the filters will be excluded. This example selects the range of documents 170-173 by ID:
      [[Ditto? &parents=`6` &filter=`id,170,3|id,173,4` ]]