summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-09-10 22:49:26 +0200
committerjake%acutex.net <>2001-09-10 22:49:26 +0200
commit2508e7d70adcfddb7e0fe18d5160f4df8dc83256 (patch)
tree9eb9218b5c0a42a7c2ad088c66194e10a4c1dae4 /buglist.cgi
parent6596544fef79b37ed08c4bf8433df8779093ec9a (diff)
downloadbugzilla-2508e7d70adcfddb7e0fe18d5160f4df8dc83256.tar.gz
bugzilla-2508e7d70adcfddb7e0fe18d5160f4df8dc83256.tar.xz
Fix for bug 8647 - Add an option to the query page to sort by Last Changed date.
Patch by Matthew Tuck <matty@chariot.net.au> r= jake@acutex.net x2
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 4 insertions, 0 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";
}