Header does not display when view is empty but header_empty option is set

Created on 10 July 2011, over 13 years ago
Updated 22 December 2024, 3 months ago

If you set the view to display the header even if the view is empty, and the view is empty, QT will not output anything because line 518 of quicktabs.module should have an extra clause in it to account for the header_empty option.

if (!empty($view->result) || $view->display_handler->get_option('empty') || !empty($view->style_plugin->definition['even empty'])) {

should be

if (!empty($view->result) || $view->display_handler->get_option('empty') || !empty($view->style_plugin->definition['even empty']) || $view->display_handler->get_option('header_empty')) {

I'm not sure if this affects the 3.0 branch.

πŸ› Bug report
Status

Closed: outdated

Version

3.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States archard

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

    If still an issue or needed for 4.0.x (latest branch) feel free to reopen

Production build 0.71.5 2024