Download & Extend

Do not show tab if the display has no result

Project:Views Display Tabs
Version:6.x-1.0-beta6
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Here is a quick, 7 lines patch I used on one of my projects. It hides tabs if the corresponding display of the view does not have any result. It requires to execute the view as many times as there are displays, but it won't show tabs which will lead to blank results.

AttachmentSize
viewsdisplaytabs-tab-display-check.patch961 bytes
nobody click here