projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafdaec
)
fix order of packages after class selection changes
author
ivan
<ivan>
Sat, 19 Dec 2009 19:09:30 +0000
(19:09 +0000)
committer
ivan
<ivan>
Sat, 19 Dec 2009 19:09:30 +0000
(19:09 +0000)
httemplate/misc/cust-part_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/cust-part_pkg.cgi
b/httemplate/misc/cust-part_pkg.cgi
index
a249f03
..
974ac0e
100644
(file)
--- a/
httemplate/misc/cust-part_pkg.cgi
+++ b/
httemplate/misc/cust-part_pkg.cgi
@@
-20,10
+20,11
@@
my @part_pkg = qsearch({
'extra_sql' =>
' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql( 'null'=>1 ).
' AND '. FS::part_pkg->agent_pkgs_sql( $cust_main->agent ),
+ 'order_by' => 'ORDER BY pkg',
});
my @return = map { $_->pkgpart => $_->pkg_comment }
- sort { $a->pkg_comment cmp $b->pkg_comment }
+
#
sort { $a->pkg_comment cmp $b->pkg_comment }
@part_pkg;
</%init>