Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's nice to be able to group several workflow states into one filter with Views' grouping options. This also allows to show a chosen filter label instead of the (often unusable) state name(s). (Under Filter type, select Grouped filters instead of Single filter)
Here's a patch that changes the views filter to work with grouping.
Comment | File | Size | Author |
---|---|---|---|
#2 | Views' filter dialog | 60.65 KB | interX |
workflow-allow-grouped-filters.patch | 1.59 KB | interX | |
Comments
Comment #1
NancyDruPlease give me the steps to reproduce and test this.
Comment #2
interX CreditAttribution: interX commentedBasically it's :
Currently this gives a query error since the grouped filter is an array instead of a single value in the filter handler.
I added a screenshot of a dummy view's filter dialog to show the exact settings.
Comment #3
NancyDruCommitted, with attribution to you.
Comment #4
NancyDruIncluded in 7.x-1.1-beta2.