Skip Navigation

[Resolved] Create a Query Filter for a Toolset View on a Date field filtered to THIS_YEAR

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.69 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by Lee 3 years, 2 months ago.

Author
Posts
#2162451

Lee

This is a festival site. It has only one festival per year. I want to only display the performances for "this year". Not any of the past festival performances.

Using Toolset I created the Post Field; performance-start-time, that has a Field Type: Date, input both date and time. On the Toolset View I've added the Query Filter on the performance-start-time is a "DATE" that is "equal to" the following: "THIS_YEAR"

But nothing is displayed in the view. If I removed the filter, all performances are displayed.

#2162465

Lee

My issue is resolved now. Thank you!