I’m trying to filter items based on their TV’s date using a getResources call. If the event (eventStart), is greater or less than today.
For upcoming events this works fine:
However for past events this doesn’t work:
For some reason, in my code editor the lower than arrows (<<) are shown in red and the results are not accurate. There are missing items and other items without the eventStart TV appear when they shouldn’t.
The past events that were missing are now showing. I needed to add the “&limit” property and set a high number as it shows only 5 by default.
Now I just need to find a way to exclude the events were the eventStart TV doesn’t exist. These items shouldn’t appear under past events because they don’t have a specific date.