X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust-part_pkg.cgi;fp=httemplate%2Fmisc%2Fcust-part_pkg.cgi;h=974ac0e87c78a11541ee1e38b8d2d6d7d78ed11a;hb=c1d8e2288d9b44823bd9216c5e96ba9d052a04bd;hp=a249f033f8d8bfe630a705aff5845e23b8712b1d;hpb=fafdaeca1af0771cefd8f6707b0f75ee8a33f03a;p=freeside.git diff --git a/httemplate/misc/cust-part_pkg.cgi b/httemplate/misc/cust-part_pkg.cgi index a249f033f..974ac0e87 100644 --- 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;