projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
777e0e6
)
fix invoice sorting by package category, RT#31272
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 4 Dec 2014 18:08:13 +0000
(10:08 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 4 Dec 2014 18:08:13 +0000
(10:08 -0800)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
2fae464
..
05972c0
100644
(file)
--- a/
FS/FS/Template_Mixin.pm
+++ b/
FS/FS/Template_Mixin.pm
@@
-2153,9
+2153,9
@@
sub _items_sections {
} else {
$section->{'category'} = $sectionname;
$section->{'description'} = &{ $escape }($sectionname);
} else {
$section->{'category'} = $sectionname;
$section->{'description'} = &{ $escape }($sectionname);
- if ( _pkg_category($
_
) ) {
- $section->{'sort_weight'} = _pkg_category($
_
)->weight;
- if ( _pkg_category($
_
)->condense ) {
+ if ( _pkg_category($
sectionname
) ) {
+ $section->{'sort_weight'} = _pkg_category($
sectionname
)->weight;
+ if ( _pkg_category($
sectionname
)->condense ) {
$section = { %$section, $self->_condense_section($opt{format}) };
}
}
$section = { %$section, $self->_condense_section($opt{format}) };
}
}