From 736bec75ad13c60de9c1597f30b8778664d5ed6d Mon Sep 17 00:00:00 2001 From: Robert Allerstorfer Date: Fri, 16 Jan 2015 21:09:31 +0100 Subject: [PATCH] #1876594: No checkboxes of Views Bulk Operations --- theme.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme.inc b/theme.inc index 57d61ed..15c8600 100644 --- a/theme.inc +++ b/theme.inc @@ -186,11 +186,12 @@ function template_preprocess_views_calc_table(&$vars) { $vars['fields'][$field] .= ' ' . drupal_clean_css_identifier($options['info'][$field]['align']); } } + $renders = $handler->render_fields($result); // Render each field into its appropriate column. Preserve rows. foreach ($result as $num => $row) { foreach ($columns as $field => $column) { - $field_output = $fields[$field]->theme($row); + $field_output = $renders[$num][$field]; if (!empty($fields[$field]) && empty($fields[$field]->options['exclude'])) { // Don't bother with separators and stuff if the field does not show up. -- 1.9.4.