From 9076d41e60406366a7d9476dda6d137416b07c2d Mon Sep 17 00:00:00 2001 From: Markus Kolb Date: Thu, 26 Jul 2012 16:43:30 -0400 Subject: Bug 774625 - describecomponents.cgi - product category listing is not sorted r=dkl, a=LpSolit --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') 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 { -- cgit v1.2.3-24-g4f1b