diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 5158091ad0a2280a7a59eb98c210c19632c988ac..9b6c5bca7fb6eb6520cae936ae7fd4816ee128b2 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1423,7 +1423,7 @@ sub init { foreach my $field (@fields, @orderby) { next if ($field =~ /(AVG|SUM|COUNT|MAX|MIN|VARIANCE)\s*\(/i || $field =~ /^\d+$/ || $field eq "bugs.bug_id" || - $field =~ /^relevance/); + $field =~ /^(relevance|actual_time|percentage_complete)/); # The structure of fields is of the form: # [foo AS] {bar | bar.baz} [ASC | DESC] # Only the mandatory part bar OR bar.baz is of interest