projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimize package list with lots of packages, RT#28526
[freeside.git]
/
httemplate
/
view
/
cust_main
/
packages.html
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
746e0c7
..
a05142f
100755
(executable)
--- a/
httemplate/view/cust_main/packages.html
+++ b/
httemplate/view/cust_main/packages.html
@@
-313,4
+313,9
@@
$num_old_packages -= scalar(@packages);
# (as will change-target packages)
@packages = grep !$_->main_pkgnum, @packages;
+foreach my $cust_pkg ( @packages ) {
+ $cust_pkg->{'_cust_pkg_discount_active'} =
+ [ $cust_pkg->cust_pkg_discount_active ];
+}
+
</%init>