I was wondering if anybody has come across anything that allows the setting of filter sets which can be turned on / off, or switched between, for instance:
--- Node is Type Page
--- Node is Promoted to Front Page
OR
--- Node is Type Gallery
--- Node is Sticky
It would be nice to be able to set some form of Filter Grouping, for instance:
GroupA:
--- Node is Type Page
--- Node is Promoted to Front Page
GroupB:
--- Node is Type Gallery
--- Node is Sticky
And then expose the Filter Grouping, which simply provides some sort of widget allowing the selection of GroupA and/or GroupB.
Does such functionality exist in any form, or would such functionality be feasible?
I wouldn't mind having a crack at such a module myself if it doesn't already exist and wouldn't be mind bendingly difficult. I often wish I had some motivation to dig deeper into Views development, and now with the above I think I've found an excuse!
Comments
As a more apt example than
As a more apt example than the completely pointless one I made above, I currently have a View which I would like to be able to have an exposed filter that can do:
However in order to accomplish this I'm using a rather unwieldy exposed filter with exposed operator, and the following combinations provide the filter configuration:
I understand that "NULL" and "NOT NULL" are options, however these don't seem to be working, and regardless of that issue, the bigger picture is that I'd like to be able to provide more concise options to the end user.
To my knowledge the only current way of doing this would be with multiple Views displays, however these don't automatically provide exposed filters to switch between displays, and would also limit the Display selection to single select, where as I'd like to think Filter Groups could provide multi-selection.
Have you looked at this
Have you looked at this module? http://drupal.org/project/views_or Looks like it might do what you are asking. I've used it successfully.