From 768b72850d3f3292506b1ddd1bc7ced794b32883 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 5 Dec 2004 22:18:59 +0000 Subject: Patch for bug 271048: Remove confusion when sorting classifications by modifying GetSelectableClassifications in order to always return a sorted list; patch by Albert Ting , r=justdave, a=justdave. --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 829417e44..d1e751bb0 100644 --- a/globals.pl +++ b/globals.pl @@ -664,7 +664,7 @@ sub GetSelectableProductHash { sub GetSelectableClassifications { my @selectable_classes = (); - foreach my $c (keys %::classdesc) { + foreach my $c (sort keys %::classdesc) { if ( scalar(GetSelectableProducts(0,$c)) > 0) { push(@selectable_classes,$c); } -- cgit v1.2.3-24-g4f1b