From: kiko%async.com.br <> Date: Thu, 12 Feb 2004 12:45:17 +0000 (+0000) Subject: Adding a comment to avoid further dupes of bug 97736 -- and also X-Git-Tag: bugzilla-2.17.7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecdfa3b6e6f10429a873d7c88a66e958c6ac3ae3;p=thirdparty%2Fbugzilla.git 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. --- diff --git a/query.cgi b/query.cgi index 80c6ec5d43..7786da96bd 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}} ]; }