From: lpsolit%gmail.com <> Date: Fri, 20 Jan 2006 03:50:34 +0000 (+0000) Subject: Bug 323769: Column names for reporter, assignee and QA contact realnames are incorrec... X-Git-Tag: bugzilla-2.20.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb73a94e18c732f34245b753dba060fa37181095;p=thirdparty%2Fbugzilla.git Bug 323769: Column names for reporter, assignee and QA contact realnames are incorrect when exporting a bug list to non-HTML formats - Patch by Frédéric Buclin r=wurblzap a=justdave --- diff --git a/buglist.cgi b/buglist.cgi index 9e6358d497..aabe18f319 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -508,9 +508,9 @@ if ($format->{'extension'} eq 'html') { DefineColumn("reporter_realname" , "CASE WHEN map_reporter.realname = '' THEN map_reporter.login_name ELSE map_reporter.realname END AS reporter_realname" , "Reporter" ); DefineColumn("qa_contact_realname" , "CASE WHEN map_qa_contact.realname = '' THEN map_qa_contact.login_name ELSE map_qa_contact.realname END AS qa_contact_realname" , "QA Contact"); } else { - DefineColumn("assigned_to_realname", "map_assigned_to.realname" , "Assignee" ); - DefineColumn("reporter_realname" , "map_reporter.realname" , "Reporter" ); - DefineColumn("qa_contact_realname" , "map_qa_contact.realname" , "QA Contact" ); + DefineColumn("assigned_to_realname", "map_assigned_to.realname AS assigned_to_realname", "Assignee" ); + DefineColumn("reporter_realname" , "map_reporter.realname AS reporter_realname" , "Reporter" ); + DefineColumn("qa_contact_realname" , "map_qa_contact.realname AS qa_contact_realname" , "QA Contact"); } DefineColumn("bug_status" , "bugs.bug_status" , "Status" ); DefineColumn("resolution" , "bugs.resolution" , "Resolution" );