summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-01-22 05:08:35 +0100
committermkanat%bugzilla.org <>2009-01-22 05:08:35 +0100
commitc7b2b76566b8258c676967537986e996c17c3d8d (patch)
treeead1d770b601720c2aac9bdfc3133cd56071d694 /Bugzilla/Search.pm
parentfdfe948ab5eea11a0ce98b84044308a6f95adfa0 (diff)
downloadbugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.gz
bugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.xz
Bug 472872: Add a field where people can put the URLs to Bugzilla bugs (from any Bugzilla installation)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 47b4e1296..de02115fe 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -104,8 +104,9 @@ sub init {
my @select_fields =
Bugzilla->get_fields({ type => FIELD_TYPE_SINGLE_SELECT });
- my @multi_select_fields = Bugzilla->get_fields({ type => FIELD_TYPE_MULTI_SELECT,
- obsolete => 0 });
+ my @multi_select_fields = Bugzilla->get_fields({
+ type => [FIELD_TYPE_MULTI_SELECT, FIELD_TYPE_BUG_URLS],
+ obsolete => 0 });
foreach my $field (@select_fields) {
my $name = $field->name;
$special_order{"bugs.$name"} = [ "$name.sortkey", "$name.value" ],