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

rdeboer’s picture

Hi 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

rdeboer’s picture

Status: Active » Closed (works as designed)