summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi4
-rwxr-xr-xquery.cgi2
2 files changed, 5 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 830b66599..e08df3952 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1071,6 +1071,10 @@ if (defined $::FORM{'order'} && $::FORM{'order'} ne "") {
$::FORM{'order'} = "map_assigned_to.login_name, bugs.bug_status, priority, bugs.bug_id";
last ORDER;
};
+ /Changed/ && do {
+ $::FORM{'order'} = "bugs.delta_ts, bugs.bug_status, bugs.priority, map_assigned_to.login_name, bugs.bug_id";
+ last ORDER;
+ };
# DEFAULT
$::FORM{'order'} = "bugs.bug_status, bugs.priority, map_assigned_to.login_name, bugs.bug_id";
}
diff --git a/query.cgi b/query.cgi
index 10b644b63..9ba9ea689 100755
--- a/query.cgi
+++ b/query.cgi
@@ -1016,7 +1016,7 @@ print qq{
};
my $deforder = "'Importance'";
-my @orders = ('Bug Number', $deforder, 'Assignee');
+my @orders = ('Bug Number', $deforder, 'Assignee', 'Last Changed');
if ($::COOKIE{'LASTORDER'}) {
$deforder = "Reuse same sort as last time";