Say I have a content-type that has a taxonomy term as a field. Term is optional.

If I create a view, exposing a filter that lets pick term(s), there is currently no way to set a default value in the exposed filter that has no effect on the result set. The closest (NULL or NOT NULL) still filters, as it'll either return nodes that have no value or 1+ value, but never both.

This patch adds a noop operator, which adds “Any (NULL/NOT NULL)” to the operator list.

views-noop-filter.patch1.4 KBptaff
Members fund testing for the Drupal project. Drupal Association Learn more


ptaff created an issue.