Corrected implementation of --percent
This commit is contained in:
parent
41e4aea759
commit
4197c88511
1 changed files with 1 additions and 1 deletions
|
|
@ -735,7 +735,7 @@ public:
|
||||||
OPTION_(report_t, percent, DO() { // -%
|
OPTION_(report_t, percent, DO() { // -%
|
||||||
parent->HANDLER(total_)
|
parent->HANDLER(total_)
|
||||||
.set_expr(string("--percent"),
|
.set_expr(string("--percent"),
|
||||||
"is_account&parent&parent.total&percent(total, parent.total)");
|
"((is_account&parent&parent.total)?percent(total, parent.total):0");
|
||||||
});
|
});
|
||||||
|
|
||||||
OPTION__
|
OPTION__
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue