We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26178
    • 32 Posts
    Hi everyone,

    I’m having problems with filtering.
    I just need Ditto to load documents with start_date TV set to a date which is greater or equal to today’s date.
    My Ditto call looks like this:
    [[Ditto? ... &filter=`start_date,@EVAL time();,6`]]

    but it doesn’t work.
    start_date is a Date TV.
    Any advice?

    Thanks a lot!
    Sara
      • 19667
      • 26 Posts
      hi.
      does your call include &dateSource=`start_date` ?
        • 26178
        • 32 Posts
        Nope.
        I tried to add it, but with the same results.
        Could the problem be that I have set a widget (Date Formatter) for this TV?
          • 18397
          • 3,250 Posts
          Could you provide the debug output of the call? (See the policy topic stickied in this forum)
            • 4310
            • 2,310 Posts
            Setting the TV’s Widget properties to Unixtime worked for me in the exact same circumstances.

            David
              • 26178
              • 32 Posts
              Hi David,
              thanks for the tip. Works fine now. Thanks again.
              Sara
                • 4310
                • 2,310 Posts
                Glad it worked grin