Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Views Data
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2008 at 16:28 UTC
Updated:
16 Jun 2009 at 22:10 UTC
As discussed in CCK's #311912: Many_to_one filters/args handlers, attached patch adds optional 'is empty / is not empty' operators to views_handler_filter_in_operator handler.
We originally considered adding this to views_handler_filter_many_to_one (I have working code for this as well), but adding it to the parent class is actually more straightforward.
The code is largely inspired by views_handler_filter_string / views_handler_filter_numeric.
| Comment | File | Size | Author |
|---|---|---|---|
| views_filter_in_allow_empty.patch | 11.15 KB | yched |
Comments
Comment #1
moshe weitzman commentedSubscribe. I have had requests for this in OG (posts that are not in any group).
Comment #2
merlinofchaos commentedI'm sorry I let this slip through the cracks. Committed to both 2.x and 3.x, and enabled for taxonomy: tid.
Comment #3
kenorb commentedThank you.
Comment #4
gpk commentedThanks also, I was looking for the "posts that are not in any group" behavior.