View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023627 | mantisbt | feature | public | 2017-11-12 23:08 | 2018-02-06 21:17 |
Reporter | rainflood2 | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 2.11.0 | Fixed in Version | 2.11.0 | ||
Summary | 0023627: Summary page enhancement with bugs ratio support | ||||
Description | In summary page, it is helpfull to add two columns as in manageri's veiw, in by_project, by_enum, by_developer and by_reporter summary tables: resolved bug ratio, i.e. (resolved + closed)/total *100%, and item ratio, i.e. (item total)/(sum of total bugs). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
MantisBT: master 1c2b9340 2017-11-07 00:50 rainflood Committer: dregad Details Diff |
Summary: added bugs ratio and resolved ratio In summary page, added two columns in by_project, by_enum, by_developer and by_reporter summary tables: - resolved bug ratio, i.e. (resolved + closed)/total * 100% - item ratio, i.e. (item total)/(sum of total bugs). A new 'summary_header' string variable was added in replacement of the old 'orct' one, to support the 2 new columns; structure and processing of this string was changed from the original, it is no longer wrapped in parenthesis, so it can be parsed with a simple explode() call instead of relying on preg_split(). This commit is a squash of rainflood's original work, following discussion in PR https://github.com/mantisbt/mantisbt/pull/1231, including some adjustments by dregad. Note: the change includes refactoring of the original code, to reduce duplication, remove useless code and simplify it. Fixes 0023627 Signed-off-by: Damien Regad <dregad@mantisbt.org> |
Affected Issues 0023627 |
|
mod - core/summary_api.php | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
mod - summary_page.php | Diff File |