Download & Extend

Calculations are made against the default display regardless of actual display

Project:Views Calc
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

There's a line commented out of views_calc_table.inc that's supposed to switch displays before calculating totals and subtotals. If there's a reason to leave this out, there should be a note about it in the code; otherwise, here's a patch.

AttachmentSize
views_calc_table.patch644 bytes

Comments

#1

I missed the same commented line in the subtotals loop before this one, which I see has a note about needing to force a non-page display right above it. What's the issue here?

#2

Tested the patch with last dev version and it works. Need more testing, but it seems to work just fine.

#3

Have anyone tested this aswell? So this could be commited someday...

#4

#5

Status:needs review» fixed

This has been committed when fixing:
#1021228: executing query of cloned view affects original view

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here