I'm trying to create an exposed filter for view which allow to find node which have a specific field with no value. It's a field which lists taxonomy terms.
This is not possible with view. When I select to exposed the operator "IS NULL", the filter which is return by view make no sense as you can see on the following images
The filter after I choose this option:
In another issue on stackexchange, someone suggests to use better exposed filter and some people approve. But maybe because the issue was for Drupal 7 or for another type of field, this option is not available with the module for my field.
I create a custom filter which display a checkbox in filter which modify the query to display contents which have this field empty if check.
With EntityQuery, I know it's possible to make a query which return entities with a field empty with the function notExist on the field.
But in the case of the query for view, I have no idea how to indicate I want content which have no connection on this field. I guess I can have this with a subselect in the query but I have no idea how to construct it.