aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Rogers <kar@cray.com>2010-07-05 14:49:52 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-05 14:49:52 -0700
commitbcab6fcb10aa88683490bef03c607173f9c0b063 (patch)
treea7ed63d95f2cdce804e79e9869d813fda121a06a /enter_bug.cgi
parentBug 576969 - Add missing 'autocomplete' to yui array so keyword autocompletio... (diff)
downloadbugzilla-bcab6fcb10aa88683490bef03c607173f9c0b063.tar.gz
bugzilla-bcab6fcb10aa88683490bef03c607173f9c0b063.tar.bz2
bugzilla-bcab6fcb10aa88683490bef03c607173f9c0b063.zip
Bug 514618: Allow restricting the visibility and values of fields by
classification. r=mkanat, r=timello, a=mkanat
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 4aa6a29d9..64b239628 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -416,7 +416,8 @@ foreach my $field (@enter_bug_fields) {
}
# This allows the Field visibility and value controls to work with the
-# Product field as a parent.
+# Classification and Product fields as a parent.
+$default{'classification'} = $product->classification->name;
$default{'product'} = $product->name;
if ($cloned_bug_id) {