diff options
author | jeff <jeff> | 2007-02-12 17:56:52 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-02-12 17:56:52 +0000 |
commit | 2f7205c859dd4d36aaa86c11e98ec1b48f4cc34b (patch) | |
tree | d88fedb7a21358b175fee7df138659f800b6450a /httemplate | |
parent | 9c90d9596b2fce8744d0851443444b3a4f846297 (diff) |
alpha sort packages in new package order SELECT (ticket 1446)
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/view/cust_main/order_pkg.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/order_pkg.html b/httemplate/view/cust_main/order_pkg.html index 6edd18c05..f48bf0929 100644 --- a/httemplate/view/cust_main/order_pkg.html +++ b/httemplate/view/cust_main/order_pkg.html @@ -23,7 +23,8 @@ function enable_order_pkg () { % qsearch( 'part_pkg', { 'disabled' => '' }, '', % ' AND 0 < ( SELECT COUNT(*) FROM type_pkgs '. % ' WHERE typenum = '. $cust_main->agent->typenum. -% ' AND type_pkgs.pkgpart = part_pkg.pkgpart )' +% ' AND type_pkgs.pkgpart = part_pkg.pkgpart )'. +% ' ORDER BY pkg' # case ? % ) %) { % |