diff options
author | lpsolit%gmail.com <> | 2006-07-25 08:25:44 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-07-25 08:25:44 +0000 |
commit | 01939a3d9ba7d3947e3637ef4a7808c4d841164e (patch) | |
tree | d5b5cb7242e4fac6155441056971a7291bd74c1f | |
parent | 9afb69fdf06563501250da3b08eade1e37b90356 (diff) | |
download | bugs-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar bugs-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar.gz bugs-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar.bz2 bugs-01939a3d9ba7d3947e3637ef4a7808c4d841164e.tar.xz bugs-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
-rwxr-xr-x | request.cgi | 8 |
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; |