From 5feeb810dcda1043f20dd81a4f1fd720a136fa3d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 19 Dec 2005 03:29:20 +0000 Subject: [PATCH] =?utf8?q?Bug=20320289:=20[PostgreSQL]=20Ordering=20a=20bu?= =?utf8?q?glist=20by=20"Actual=20Hours"=20fails=20-=20Patch=20by=20Fr?= =?utf8?q?=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a?= =?utf8?q?=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index d9988a30ab..2233ed514b 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1379,7 +1379,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 -- 2.47.2