I've got resources with two different TVs: event-date and event-end-date. Single day events use only the event-date TV, while multi-day events use both fields.
I've been using this to filter for future dates.
[[!getResources?
...
&tvFilters=`event-date>=[[curDate]]`
]]
This works, however, the multi-day events drop off the list before the end date.
So I tried adding an OR filter like this:
&tvFilters=`event-date>=[[curDate]]||event-end-date>=[[curDate]]`
This produces the same result as the previous filter.
As test, I tried filtering on the event-end-date just to confirm the field was valid.
[[!getResources?
...
&tvFilters=`event-end-date>=[[curDate]]`
]]
This produced a list of only those events with a value in event-end-date.
PS. I tried use @where with no luck. I got either all resources or none. Not sure if this even works with TVs.
So why doesn't this work?
&tvFilters=`event-date>=[[curDate]]||event-end-date>=[[curDate]]`