summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-17 09:30:10 +0200
committerByron Jones <bjones@mozilla.com>2013-10-17 09:30:10 +0200
commit8eeeaebc4b393267813dbc1a074d3dbc6710bb84 (patch)
tree208a56733f89680d0da2f89856f466dff5a14770 /Bugzilla/Search.pm
parenta2519127f2ca5590d3aae50d5be8a149be297c51 (diff)
downloadbugzilla-8eeeaebc4b393267813dbc1a074d3dbc6710bb84.tar.gz
bugzilla-8eeeaebc4b393267813dbc1a074d3dbc6710bb84.tar.xz
Bug 927741: whines are throwing sql errors on stage (Unknown column 'map_product.classification_id')
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm11
1 files changed, 1 insertions, 10 deletions
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()];