diff options
author | Markus Kolb <mozilla.org@tower-net.de> | 2012-07-26 22:43:30 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-26 22:43:30 +0200 |
commit | 9076d41e60406366a7d9476dda6d137416b07c2d (patch) | |
tree | 7e13432c1e8e4d26917e0478538f24aa6c260472 | |
parent | 549d22f82522056c84147580eee72b35acfdfa64 (diff) | |
download | bugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.gz bugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.xz |
Bug 774625 - describecomponents.cgi - product category listing is not sorted
r=dkl, a=LpSolit
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 391e416af..f8c490b1a 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1069,7 +1069,7 @@ sub get_accessible_products { @{$self->get_selectable_products}, @{$self->get_enterable_products}; - return [ values %products ]; + return [ sort { $a->name cmp $b->name } values %products ]; } sub check_can_admin_product { |