From 37a1780a341f28ae1e9c069fe2e509163f924a6b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Sun, 18 Dec 2005 19:24:32 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20320289:=20[PostgreSQL]=20Ordering=20a=20b?= =?UTF-8?q?uglist=20by=20"Actual=20Hours"=20fails=20-=20Patch=20by=20Fr?= =?UTF-8?q?=EF=BF=BDd=EF=BF=BDric=20Buclin=20=20r=3Dmka?= =?UTF-8?q?nat=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webtools/bugzilla/Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/Bugzilla/Search.pm b/webtools/bugzilla/Bugzilla/Search.pm index 5158091ad0a..9b6c5bca7fb 100644 --- a/webtools/bugzilla/Bugzilla/Search.pm +++ b/webtools/bugzilla/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