Remove condition on displaying view content

Created on 29 July 2013, over 11 years ago
Updated 22 December 2024, 3 months ago

I have a relatively complex block-based view with multiple attachments, wherein some of the attached views may return empty content depending on the contextual filters used. In some cases, the content was rendered into the view_output variable (see below), but the applied condition did not resolve to TRUE, thereby omitting the content in the page.

So, I recommend removing the following condition in plugins/QuickViewContent.inc.

if (!empty($view->result) || $view->display_handler->get_option('empty') || !empty($view->style_plugin->definition['even empty']))
{
  $output['#markup'] = $view_output;
}
πŸ› Bug report
Status

Closed: outdated

Version

3.4

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mmikitka

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