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
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | selected_9999(6692).png | 148.05 KB | KondratievaS |
Issue fork role_expire-3256891
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
Comment #4
brolad commentedComment #5
brolad commentedComment #6
KondratievaS commentedWorks as expected
Comment #7
rcodinaThis 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.
Comment #8
rcodinaComment #9
rcodina