summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}} ];
}