aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-25 08:25:44 +0000
committerlpsolit%gmail.com <>2006-07-25 08:25:44 +0000
commit01939a3d9ba7d3947e3637ef4a7808c4d841164e (patch)
treed5b5cb7242e4fac6155441056971a7291bd74c1f /request.cgi
parentBug 329789: The guided format when creating a bug doesn't let me specify a co... (diff)
downloadbugzilla-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar.gz
bugzilla-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar.bz2
bugzilla-01939a3d9ba7d3947e3637ef4a7808c4d841164e.zip
Bug 345652: request.cgi should look at flags.modification_date instead of flags.creation_date - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'request.cgi')
-rwxr-xr-xrequest.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/request.cgi b/request.cgi
index b41361963..a3191bb15 100755
--- a/request.cgi
+++ b/request.cgi
@@ -96,7 +96,7 @@ sub queue {
flags.attach_id, attachments.description,
requesters.realname, requesters.login_name,
requestees.realname, requestees.login_name,
- " . $dbh->sql_date_format('flags.creation_date', '%Y.%m.%d %H:%i') .
+ " . $dbh->sql_date_format('flags.modification_date', '%Y.%m.%d %H:%i') .
# Use the flags and flagtypes tables for information about the flags,
# the bugs and attachments tables for target info, the profiles tables
# for setter and requestee info, the products/components tables
@@ -224,7 +224,7 @@ sub queue {
products.name, components.name, flags.attach_id,
attachments.description, requesters.realname,
requesters.login_name, requestees.realname,
- requestees.login_name, flags.creation_date,
+ requestees.login_name, flags.modification_date,
cclist_accessible, bugs.reporter, bugs.reporter_accessible,
bugs.assigned_to');
@@ -247,8 +247,8 @@ sub queue {
}
# Order the records (within each group).
- $query .= " , flags.creation_date";
-
+ $query .= " , flags.modification_date";
+
# Pass the query to the template for use when debugging this script.
$vars->{'query'} = $query;
$vars->{'debug'} = $cgi->param('debug') ? 1 : 0;