Attachment view bug

Created on 3 February 2011, almost 14 years ago
Updated 28 October 2024, about 2 months ago

Attachment view is not shown when a group does not have any posts. The fix is that the attachments are not checked in the line 221 of og_views.module:

if (!empty($view->total_rows) || !empty($view->num_rows) || !empty($view->page_empty) || $view->display_handler->get_option('empty')) {

should be:

if (!empty($view->total_rows) || !empty($view->num_rows) || !empty($view->page_empty) || !empty($view->attachment_before) || !empty($view->attachment_after) || $view->display_handler->get_option('empty')) {
🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Og Views

Created by

🇮🇷Iran massud

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

Comments & Activities

Production build 0.71.5 2024