summaryrefslogtreecommitdiffstats
path: root/editfields.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-15 16:47:35 +0100
committerlpsolit%gmail.com <>2009-01-15 16:47:35 +0100
commit3869f8795096935ca058bb086741c4c7b3d5049a (patch)
treee6dd6e49a09838784d22ad6d14e0236b015c187d /editfields.cgi
parentee5cbb72fe58f9fa8c5fad39da67fc078496db94 (diff)
downloadbugzilla-3869f8795096935ca058bb086741c4c7b3d5049a.tar.gz
bugzilla-3869f8795096935ca058bb086741c4c7b3d5049a.tar.xz
Bug 344878: Automatically generate list of acceptable columns for buglist.cgi from the database - Patch by Teemu Mannermaa <wicked@sci.fi> r/a=mkanat
Diffstat (limited to 'editfields.cgi')
-rw-r--r--editfields.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editfields.cgi b/editfields.cgi
index 446753044..09147d69a 100644
--- a/editfields.cgi
+++ b/editfields.cgi
@@ -64,6 +64,7 @@ elsif ($action eq 'new') {
enter_bug => scalar $cgi->param('enter_bug'),
obsolete => scalar $cgi->param('obsolete'),
custom => 1,
+ buglist => (scalar $cgi->param('type') == FIELD_TYPE_MULTI_SELECT ? 0 : 1),
visibility_field_id => scalar $cgi->param('visibility_field_id'),
visibility_value_id => scalar $cgi->param('visibility_value_id'),
value_field_id => scalar $cgi->param('value_field_id'),