From 61898d18479013cfbcc820ff25f39377db071536 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 9 Apr 2005 07:37:50 +0000 Subject: Bug 199048: Preference option to reverse sort the comments stack - Patch by Shane H. W. Travis r=mkanat a=myk --- process_bug.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index e7d2de104..f85fd45d6 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1334,7 +1334,10 @@ foreach my $id (@idlist) { $cgi->param('delta_ts')); $vars->{'start_at'} = $cgi->param('longdesclength'); - $vars->{'comments'} = Bugzilla::Bug::GetComments($id); + + # Always sort midair collision comments oldest to newest, + # regardless of the user's personal preference. + $vars->{'comments'} = Bugzilla::Bug::GetComments($id, "oldest_to_newest"); $cgi->param('delta_ts', $delta_ts); -- cgit v1.2.3-24-g4f1b