diff options
author | terry%netscape.com <> | 1998-10-07 05:23:40 +0200 |
---|---|---|
committer | terry%netscape.com <> | 1998-10-07 05:23:40 +0200 |
commit | 5e9f3b19b20c731d302e06b432ac105ca515aa02 (patch) | |
tree | 9790c87c9bdd660764f68a9eaa95091f62bd55dc /globals.pl | |
parent | 798044275be99053ebf51ca146ce6426b9f5cb80 (diff) | |
download | bugzilla-5e9f3b19b20c731d302e06b432ac105ca515aa02.tar.gz bugzilla-5e9f3b19b20c731d302e06b432ac105ca515aa02.tar.xz |
Added new "products" table, which contains a description for each
product. This description is presented when the user is entering a
new bug.
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl index 56916f980..4c5975055 100644 --- a/globals.pl +++ b/globals.pl @@ -235,6 +235,13 @@ sub GenerateVersionTable { $carray{$c} = 1; } + SendSQL("select product, description from products"); + while (@line = FetchSQLData()) { + my ($p, $d) = (@line); + $::proddesc{$p} = $d; + } + + my $cols = LearnAboutColumns("bugs"); @::log_columns = @{$cols->{"-list-"}}; @@ -280,6 +287,7 @@ sub GenerateVersionTable { 'bug_status', 'resolution', 'resolution_no_dup') { print FID GenerateCode('@::legal_' . $i); } + print FID GenerateCode('%::proddesc'); print FID "1;\n"; close FID; |