summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-02-12 13:45:17 +0100
committerkiko%async.com.br <>2004-02-12 13:45:17 +0100
commitecdfa3b6e6f10429a873d7c88a66e958c6ac3ae3 (patch)
tree4542c12a82aa1de7e54a74389565ef83e0e5b2e0 /query.cgi
parent9d6d4973520e1b05e1699e7a8f63e9ca2e773b77 (diff)
downloadbugzilla-ecdfa3b6e6f10429a873d7c88a66e958c6ac3ae3.tar.gz
bugzilla-ecdfa3b6e6f10429a873d7c88a66e958c6ac3ae3.tar.xz
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.
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi2
1 files changed, 2 insertions, 0 deletions
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}} ];
}