Work with views filters

Created on 7 August 2023, 11 months ago

Problem/Motivation

I hoped this module could be a workaround for:
https://www.drupal.org/project/drupal/issues/3073362 ✨ Allow for exposed filter options "Empty" and "Not empty" in the selection list to filter on (un)set values Active and https://www.drupal.org/project/drupal/issues/2769407 ✨ Views UI should offer a 'Treat NULL values as FALSE' on boolean field filtering to expose the already existing code path for handling this Needs work

I can see the default value when using a field, but it does not appear to work for filters. It looks like views uses a sql query for that instead of entity load?

Steps to reproduce

Create a view with a boolean field filter, and default value set up for it. The listed content needs to have missing field values (add the field after creating some content) to see the issue.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024