We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21800
    • 174 Posts
    hi,
    in a ditto call I have this to call events that take a bit longer (over 2 month for an exhibition in this case)
    … &filter=`StartTime,@EVAL return time();,6|EndTime,@EVAL return time();,5` …
    Each clause separatly works, but not together this way. What is wrong?
    (I know an extender whould be more elegant to do this, but my php skills don’t allow for that.)
      • 18397
      • 3,250 Posts
        • 21800
        • 174 Posts
          thank you for the hint,
          but meanwhile I think it has to do with the circumstance, that not all events have inputted an EndTime.
          So maybe the call should read more like this
          … &filter=`StartTime,@EVAL return time();,6|EndTime,@EVEAL for ($EndTime != ’false’) {return time()};,5` …
          could you tell me how the right phrase and variables are for this?

          EDIT: at this time:
          [list]
        • StartTime,@EVAL return time();,6 ... works as expected
        • EndTime,@EVAL return time();,3 ... works as expected
        • EndTime,@EVAL return time();,5 ... puts out those I would not see, but not the expected one (I find it crazy)
        • &filter=`StartTime,@EVAL return time();,6\EndTime,@EVAL return time();,5` ... shows the expected concerning the StartTime, but not the one concerning Endtime
        • &filter=`StartTime,@EVAL return time();,6\EndTime,@EVAL return time();,3` ... puts out nothing

        I wonder if it drives me crazy these days.[/list]