From a75e969bae29b41c1b1b6d8020e8555fb4e821f9 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 20 Jan 2006 03:47:16 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 079a8b7b4..2ff808451 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -542,9 +542,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" ); -- cgit v1.2.3-24-g4f1b