From b0642d67ae6a9a7e7bbb8b8dc7a832c26bb211af Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 1 Feb 2010 17:34:26 -0800 Subject: Bug 487508: Allow restricting the visibility of custom fields and values by component r=dkl, a=mkanat --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 43b95f293..88e44ac1d 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -219,8 +219,8 @@ sub init { type => [FIELD_TYPE_MULTI_SELECT, FIELD_TYPE_BUG_URLS], obsolete => 0 }); foreach my $field (@select_fields) { + next if $field->is_abnormal; my $name = $field->name; - next if $name eq 'product'; # products don't have sortkeys. $special_order{$name} = [ "$name.sortkey", "$name.value" ], $special_order_join{$name} = "LEFT JOIN $name ON $name.value = bugs.$name"; -- cgit v1.2.3-24-g4f1b