summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMarkus Kolb <mozilla.org@tower-net.de>2012-07-26 22:43:30 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-07-26 22:43:30 +0200
commit9076d41e60406366a7d9476dda6d137416b07c2d (patch)
tree7e13432c1e8e4d26917e0478538f24aa6c260472 /Bugzilla
parent549d22f82522056c84147580eee72b35acfdfa64 (diff)
downloadbugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.gz
bugzilla-9076d41e60406366a7d9476dda6d137416b07c2d.tar.xz
Bug 774625 - describecomponents.cgi - product category listing is not sorted
r=dkl, a=LpSolit
Diffstat (limited to 'Bugzilla')
-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 {