summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-19 04:24:32 +0100
committerlpsolit%gmail.com <>2005-12-19 04:24:32 +0100
commit7123d34c497099b4228cfe49b547b6c725875ced (patch)
treefc1e95edaa905649977659338b6d566ef7d894a4 /Bugzilla
parent42edef880661a5493a830727669c9641b961f725 (diff)
downloadbugzilla-7123d34c497099b4228cfe49b547b6c725875ced.tar.gz
bugzilla-7123d34c497099b4228cfe49b547b6c725875ced.tar.xz
Bug 320289: [PostgreSQL] Ordering a buglist by "Actual Hours" fails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 5158091ad..9b6c5bca7 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