From: lpsolit%gmail.com <> Date: Tue, 25 Jul 2006 08:25:44 +0000 (+0000) Subject: Bug 345652: request.cgi should look at flags.modification_date instead of flags.creat... X-Git-Tag: bugzilla-2.23.3~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01939a3d9ba7d3947e3637ef4a7808c4d841164e;p=thirdparty%2Fbugzilla.git Bug 345652: request.cgi should look at flags.modification_date instead of flags.creation_date - Patch by Frédéric Buclin r/a=myk --- diff --git a/request.cgi b/request.cgi index b413619638..a3191bb15c 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;