Commit 7123d34c authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 320289: [PostgreSQL] Ordering a buglist by "Actual Hours" fails - Patch by…

Bug 320289: [PostgreSQL] Ordering a buglist by "Actual Hours" fails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent 42edef88
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment