Problem

When you add a view filter Role expire: Role expiration date/time, there is no "Is empty" or "Is not empty" operator available.

Steps to reproduce

1. Open Views listing page (/admin/structure/views)
2. Add a view and in the configurations select for "Show" option the "Users" value.
3. Add filter "Role expiration date/time" (Category: Role expire)
4. Check the values of "Operator" option. The empty operators are not available

Normally, the filter should be "Broken/missing handler" and you'll not be able to check the filter configurations. The fix is provided in another relateed issue #3096579 - Error adding "Role expiration date/time" as filter in views.
Before reproduce the issue we'll need to apply the patch from #3096579

Proposed resolution

Add to the filter definition option "allow empty" to define the empty operators

CommentFileSizeAuthor
#6 selected_9999(6692).png148.05 KBKondratievaS
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Brolad created an issue. See original summary.

brolad’s picture

Status: Active » Needs review
brolad’s picture

Issue summary: View changes
KondratievaS’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new148.05 KB

Works as expected

test

rcodina’s picture

This cannot be commit until #3096579: Error adding "Role expiration date/time" as filter in views is solved. Beware that filtering and sorting is not working at all despite applying patch on #13 of related issue.

rcodina’s picture

Status: Reviewed & tested by the community » Needs review
rcodina’s picture

Status: Needs review » Needs work