зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
f47f28b0ec
Коммит
7e95b4a4c9
|
@ -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) *
|
||||
|
|
Загрузка…
Ссылка в новой задаче