summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-09 09:37:50 +0200
committerlpsolit%gmail.com <>2005-04-09 09:37:50 +0200
commit61898d18479013cfbcc820ff25f39377db071536 (patch)
treeb575fb4c72da32a5b641e9bad1fafd9499c5e9c1 /process_bug.cgi
parent940a96d61b436ebc94de8023395ddbbc0d9c7272 (diff)
downloadbugzilla-61898d18479013cfbcc820ff25f39377db071536.tar.gz
bugzilla-61898d18479013cfbcc820ff25f39377db071536.tar.xz
Bug 199048: Preference option to reverse sort the comments stack - Patch by Shane H. W. Travis <shane.h.w.travis@gmail.com> r=mkanat a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi5
1 files changed, 4 insertions, 1 deletions
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);