summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
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()];