'Display even if view has no result' is ignored for Global: View area in Header and Footer

Created on 19 August 2013, over 11 years ago
Updated 21 July 2023, over 1 year ago

Steps to reproduce:

Create a view and add a Global: View area to the Header or Footer. Leave the 'Display even if view has no result' checkbox cleared. If you cause the view to have no results (via contextual filters or other filters or just no entities to display), you will see the Global: View area in your rendered output, regardless of the state of the 'Display even if view has no result' checkbox.

This seems to be isolated to Global: View area because on the same view I can add a Global: Text area to the header and when the view returns empty the Global: View area shows while Global: Text area does not.

Also, I know the view is actually empty because <div class="view-empty"> exists in the rendered output. No results behavior shows as well.

Please let me know if you need more information on this bug.

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

🇺🇸United States lunk rat

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.

Production build 0.71.5 2024