From 88d26275229b5f52f435130496169766313c87b7 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sat, 21 Aug 2004 04:49:17 +0000 Subject: Bug 224208 Add a higher level of categorization (.ie departments, locations, etc.) patch by Albert Ting r=joel, glob a=myk --- buglist.cgi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index eaca25612..3c575d2b8 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -458,6 +458,7 @@ DefineColumn("short_desc" , "bugs.short_desc" , "Summary" DefineColumn("status_whiteboard" , "bugs.status_whiteboard" , "Status Summary" ); DefineColumn("component" , "map_components.name" , "Component" ); DefineColumn("product" , "map_products.name" , "Product" ); +DefineColumn("classification" , "map_classifications.name" , "Classification" ); DefineColumn("version" , "bugs.version" , "Version" ); DefineColumn("op_sys" , "bugs.op_sys" , "OS" ); DefineColumn("target_milestone" , "bugs.target_milestone" , "Target Milestone" ); @@ -554,6 +555,11 @@ if (grep('relevance', @displaycolumns) && !$fulltext) { my @selectcolumns = ("bug_id", "bug_severity", "priority", "bug_status", "resolution"); +# if using classification, we also need to look in product.classification_id +if (Param("useclassification")) { + push (@selectcolumns,"product"); +} + # remaining and actual_time are required for precentage_complete calculation: if (lsearch(\@displaycolumns, "percentage_complete") >= 0) { push (@selectcolumns, "remaining_time"); -- cgit v1.2.3-24-g4f1b