From ecdfa3b6e6f10429a873d7c88a66e958c6ac3ae3 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Thu, 12 Feb 2004 12:45:17 +0000 Subject: Adding a comment to avoid further dupes of bug 97736 -- and also because I keep forgetting about the real reason it's there :-) Comment-only change. --- query.cgi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 80c6ec5d4..7786da96b 100755 --- a/query.cgi +++ b/query.cgi @@ -263,6 +263,8 @@ for (my $i = 0; $i < @products; ++$i) { ); if (Param('usetargetmilestone')) { + # Sorting here is required for ordering multiple selections + # correctly; see bug 97736 for discussion on how to fix this $product{'milestones'} = [ sort { lc($a) cmp lc($b) } @{$::target_milestone{$p}} ]; } -- cgit v1.2.1