fix category sort, backport from v4/master, RT#37800
[freeside.git] / httemplate / browse / pkg_class.html
index 2aa2857..63c700c 100644 (file)
@@ -5,6 +5,7 @@
                  'disableable' => 1,
                  'disabled_statuspos' => 2,
                  'query'       => { 'table'     => 'pkg_class',
+                                    'addl_from' => ' LEFT JOIN pkg_category USING (categorynum)',
                                     'hashref'   => {},
                                     'order_by' => 'ORDER BY classnum',
                                   },