Reputation: 709
I have a data type "v_content" with fields "from" and "untill", both are of type DATE(ISO).
Now I need to configure a view, which will show only those v_contents in date range: show only if from <= NOW <= untill
Sadly, in Filter criteria in view configuration, I can select the field, but cannot compare the value with current date, there are some predefined other non related settings. Also in Contextual filters, there is no comparsion settings.
So, how do I filter nodes in view by comparsion of its field values against current date?
Thanks in advance.
Upvotes: 1
Views: 1139
Reputation: 7114
When you configure condition for date field you you have select showing default value "select a date" which you can change to "Enter a relative date" and then in input field bellow enter "now".
Upvotes: 1