I use views calc in a view where I have Bulk Operations (VBO). The checkboxe for "select all" is showing in the table header but in each row the checkboxes don't appear. Is there a workarround or do I have to respect some other settings to make this work?

Comments

The same... I can see only html comment in the table cell

<?php
<td class="views-field views-field-views-bulk-operations  ">
   <!--
form-item-views_bulk_operations---->
</
td>
?>

Status:Needs review» Active
StatusFileSize
new1.09 KB

I've compared "Views calc display" template_preproccess hook and the same hook in Views module views\theme\theme.inc for the "Table display".

I've noticed that in views table fields are rendered in different way:

<?php
 
// Fields must be rendered in order as of Views 2.3, so we will pre-render
  // everything.
 
$renders = $handler->render_fields($result);
?>

Here is my patch fix that resolved the issue

Status:Active» Needs review

Status:Active» Closed (fixed)

For me that patch #2 works.
I hope that patch will make it in views_calc module because we need it to work with views bulk operations

i've changed the path in the patch

Status:Closed (fixed)» Needs review
StatusFileSize
new1.77 KB

patch update.
needs review

Works for me, thanks

Status:Needs review» Reviewed & tested by the community

ok. So I'm changing it to "reviewed & tested by the community"

This patch works for me, thanks!