Closed (works as designed)
Project:
Views Global Filter
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2012 at 21:51 UTC
Updated:
20 Aug 2012 at 11:20 UTC
Is it possible to have boolean type filters?
To toggle the site wide display of nodes flagged with a certain flag?
E.g. to not show flagged nodes anywhere on the site.
Views can have boolean contextual filters (1, 0 and nothing), but can that be used with global filters?
thanks,
e_log
Comments
Comment #1
rdeboerHi e_log
Yep that should be fine. At the moment the global filter would probably come up as a textbox in which you enter 0, 1 or blank (i.e. 'all').
I guess it would be nicer to have a checkbox as the UI....
If you can supply us with a nice example of a useful use case, I'll see what I can do with the code!
Rik
Comment #2
rdeboer