projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix subtotal and per-group item count on payment report, #25944 and #71364
[freeside.git]
/
httemplate
/
search
/
elements
/
grouped-search
/
core
diff --git
a/httemplate/search/elements/grouped-search/core
b/httemplate/search/elements/grouped-search/core
index
3d38a8c
..
b15fe86
100644
(file)
--- a/
httemplate/search/elements/grouped-search/core
+++ b/
httemplate/search/elements/grouped-search/core
@@
-110,7
+110,7
@@
for my $i (0 .. scalar(@groups) - 1) {
push @group_labels, $label;
my @footer;
- if ($opt{'subtotal_row'}) {
+ if ($opt{'subtotal_row'}
and @groups > 1
) {
for( my $col = 0;
exists($opt{'subtotal_row'}[$col]) or exists($opt{'header'}[$col]);
$col++