Commit 830eca78 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 306117: Search on "Percentage Completed" field returns "unknown column…

Bug 306117: Search on "Percentage Completed" field returns "unknown column 'bugs.remaining_time' in 'having clause'" - Patch by Lance Larsh <lance.larsh@oracle.com> r=joel a=justdave
parent f9923bc8
......@@ -732,6 +732,9 @@ sub init {
}
if ($oper ne "noop") {
my $table = "longdescs_$chartid";
if(lsearch(\@fields, "bugs.remaining_time") == -1) {
push(@fields, "bugs.remaining_time");
}
push(@supptables, "INNER JOIN longdescs AS $table " .
"ON $table.bug_id = bugs.bug_id");
my $expression = "(100 * ((SUM($table.work_time) *
......
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