[freeside-commits] freeside/httemplate/misc cust-part_pkg.cgi, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Sat Dec 19 11:09:33 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv29913
Modified Files:
cust-part_pkg.cgi
Log Message:
fix order of packages after class selection changes
Index: cust-part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cust-part_pkg.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust-part_pkg.cgi 28 Mar 2009 22:59:36 -0000 1.1
+++ cust-part_pkg.cgi 19 Dec 2009 19:09:30 -0000 1.2
@@ -20,10 +20,11 @@
'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>
More information about the freeside-commits
mailing list