I have date field in entry that is empty therefore has null
value.
I'd like to filter entries that have date
field value equal to null
.
How would I set that parameter on element criteria object? I don't want to achieve it by looping yet because I'm merging entries from another section.
Setting it to null
returns entries with or without value.
{% set myEntries = craft.entries.section("mySection").date(null) %}
Setting it to ""
returns entries with or without value.
{% set myEntries = craft.entries.section("mySection").date("") %}