Posted by Les Lim on July 5, 2009 at 4:44pm
4 followers
Jump to:
| 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.
| Attachment | Size |
|---|---|
| views_calc_table.patch | 644 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
Duplicated by
#1017594: SUM result incorrect
#5
This has been committed when fixing:
#1021228: executing query of cloned view affects original view
#6
Automatically closed -- issue fixed for 2 weeks with no activity.