From 8eeeaebc4b393267813dbc1a074d3dbc6710bb84 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 17 Oct 2013 15:30:10 +0800 Subject: Bug 927741: whines are throwing sql errors on stage (Unknown column 'map_product.classification_id') --- Bugzilla/Search.pm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index fa2689c0f..7787104ba 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -740,17 +740,8 @@ sub data { foreach my $field (@orig_fields) { next if $self->COLUMNS->{$field}->{name} =~ /^bugs\.\w+$/; $all_in_bugs_table = 0; - last; - } - - # BMO - tracking flags are not on the bugs table anymore - $self->_display_columns(); - if (@{ $self->{tracking_flags} }) { - $all_in_bugs_table = 0; - } - - if (!$all_in_bugs_table) { $self->{fields} = ['bug_id']; + last; } my $start_time = [gettimeofday()]; -- cgit v1.2.3-24-g4f1b