Saltar navegación

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

This support ticket is created 4 years, 8 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.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Lee 4 years, 8 months ago.

Autor
Mensajes
#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!