]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 345652: request.cgi should look at flags.modification_date instead of flags.creat...
authorlpsolit%gmail.com <>
Tue, 25 Jul 2006 08:25:44 +0000 (08:25 +0000)
committerlpsolit%gmail.com <>
Tue, 25 Jul 2006 08:25:44 +0000 (08:25 +0000)
request.cgi

index b41361963890e59b76731a0e4b40725e094b0298..a3191bb15c0fb218e9c90e9fdadcb06607c05e39 100755 (executable)
@@ -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;