Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2018 at 13:28 UTC
Updated:
4 Mar 2018 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
idebr commentedAttached patch adds options for 'empty' and 'not empty' in the views filter for search api textfields. The query on = NULL, <> NULL already works.
Comment #3
drunken monkeyI don't think it will be possible to support any of the other operators (well, maybe "contains any word"), but you're right, there's no reason why we can't have "is (not) empty". Patch looks good, too. However, we should also have a test for this – patch attached.
Comment #4
borisson_Tests look good, great work Thomas! I think this is a good start, we can try adding followups for the other types of queries if those are requested heavily.
I think this is good to go in.
Comment #6
drunken monkeyGood to hear, thanks a lot for reviewing!
Committed.
Thanks again also to idebr!