View Issue Details

IDProjectCategoryView StatusLast Update
0003875mantisbtbugtrackerpublic2004-07-07 20:09
Reporterchristianh Assigned Toint2str  
PrioritynormalSeveritytrivialReproducibilityN/A
Status closedResolutionfixed 
Summary0003875: Summary Page Real Name Fix
Description

Patch to fix summary page to display real names always

Additional Information

Patch against 0.18.3

TagsNo tags attached.
Attached Files
summary_realname.diff (1,062 bytes)   
diff -ub mantis-0.18.3/core/summary_api.php mantis/core/summary_api.php
--- mantis-0.18.3/core/summary_api.php	Wed Feb 11 08:33:48 2004
+++ mantis/core/summary_api.php	Wed May 26 11:28:32 2004
@@ -166,7 +166,7 @@
 				$result2 = db_query( $query );
 				$row2 = db_fetch_array( $result2 );
 				summary_helper_print_row( 
-				  $row2['username']
+				  user_get_name( $t_last_handler )
 			  	  , $t_bugs_open, $t_bugs_resolved
 				  , $t_bugs_closed, $t_bugs_total );
 
@@ -200,7 +200,7 @@
 			$result2 = db_query( $query );
 			$row2 = db_fetch_array( $result2 );
 			summary_helper_print_row(
-			  $row2['username']
+			  user_get_name( $t_last_handler )
 			  , $t_bugs_open, $t_bugs_resolved
 			  , $t_bugs_closed, $t_bugs_total );
 		}
@@ -265,7 +265,7 @@
 				$result3 = db_query( $query );
 				$row3 = db_fetch_array( $result3 );
 				summary_helper_print_row(
-				$row3['username']
+				user_get_name( $v_reporter_id ) # $row3['username']
 				, $t_bugs_open, $t_bugs_resolved
 				, $t_bugs_closed, $t_bugs_total );
 			}
summary_realname.diff (1,062 bytes)   

Activities

int2str

int2str

2004-05-25 21:40

reporter   ~0005587

The patch didn't apply, but I made the changes you suggested in it.

Thanks for your patch!

Related Changesets

MantisBT: master 06cba376

2004-05-25 22:41

int2str


Details Diff
Show real user name on the summary page (Bug 3875).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2573 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003875
mod - core/summary_api.php Diff File