As per Pasqualle's request, this issue is branched from #292150: Hide empty tabs. On that issue, in comment #20, I submitted a patch that hid empty views tabs. However, the design of the patch was not ideal, and a different style patch has now been committed. This patch does not hide empty views, since they may have exposed filters. A patch to hide empty views that don't have exposed filters set on them would be great, however. I think that when the views is initialized, the view object can be checked to see whether exposed filters are set or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | qt.patch | 829 bytes | killes@www.drop.org |
Comments
Comment #1
detot commentedsubscribe
Comment #2
bomarmonk commentedSubscribe: I definitely need this. Thanks in advance to those PHP wizards out there!
Comment #3
killes@www.drop.org commentedHere's a patch that works for me.
Comment #4
EvanDonovan commentedThanks, killes. I'll see if this applies on my site. I am using 2.0-rc4 currently.
Comment #5
katbailey commentedCommitted - thanks, killes.
http://drupal.org/cvs?commit=342332
Comment #6
katbailey commentedComment #7
EvanDonovan commentedGuess it must work then :)
Comment #9
daengo commentedThank you so much!!! This is just what I needed. I'm glad to have found this!
Comment #10
bomarmonk commentedYes, this fix works as expected!