]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 320289: [PostgreSQL] Ordering a buglist by "Actual Hours" fails - Patch by Frédér...
authorlpsolit%gmail.com <>
Mon, 19 Dec 2005 03:24:32 +0000 (03:24 +0000)
committerlpsolit%gmail.com <>
Mon, 19 Dec 2005 03:24:32 +0000 (03:24 +0000)
Bugzilla/Search.pm

index 5158091ad0a2280a7a59eb98c210c19632c988ac..9b6c5bca7fb6eb6520cae936ae7fd4816ee128b2 100644 (file)
@@ -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