aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Kolb <mozilla.org@tower-net.de>2012-07-26 16:43:30 -0400
committerDave Lawrence <dlawrence@mozilla.com>2012-07-26 16:43:30 -0400
commit9076d41e60406366a7d9476dda6d137416b07c2d (patch)
tree7e13432c1e8e4d26917e0478538f24aa6c260472
parentBug 777555: Release notes for Bugzilla 4.2.2 (diff)
downloadbugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.gz
bugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.bz2
bugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.zip
Bug 774625 - describecomponents.cgi - product category listing is not sorted
r=dkl, a=LpSolit
-rw-r--r--Bugzilla/User.pm2
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 {