View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023796 | mantisbt | reports | public | 2018-01-09 04:45 | 2018-02-06 21:17 |
Reporter | imq | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.11.0 | Fixed in Version | 2.11.0 | ||
Summary | 0023796: Filter links for resolved/closed custom statuses in Summary By Status report are incorrect | ||||
Description | We customized the status values and added additional resolved status. At page Summary -> By Status -> Resolved, for example, Both links would turn the filter to have status set as #58 rather than #59 or 0000063. | ||||
Tags | No tags attached. | ||||
Looks like summary_print_by_enum() is tagging an extra Can you please provide your settings for
|
|
@imq nevermind the request for additional information, I can reproduce the problem. |
|
Clearing product version as the problem exists since the introduction of the hyperlinks in this report, 13 years ago... MantisBT master b51d5398 |
|
I tested the change in 0023796:0058513 and seems there were some more fields having the same issue:
|
|
Apologies, I didn't test my code thoroughly and failed to notice that the piece of code I updated was actually duplicated further down in the function, so my fix is only partial. I'll update the PR later. |
|
@imq I have pushed an updated version of the branch which I believe addresses the problem in the Closed and Total columns you mentioned in 0023796:0058515. Could you please test and let me know if the issue is fixed now ? |
|
MantisBT: master 51e159c4 2018-01-20 14:31 Details Diff |
Fix resolved/closed links for summary by status When using custom statuses higher than bug_resolved_status_threshold, the filter links for figures in the Summary page's "By Status" report are incorrect for the Resolved and Closed columns. This is caused by summary_print_by_enum() adding an extra 'status' query parameter set to bug_resolved_status_threshold / bug_closed_status_threshold (depending on the column being processed), which overrides the status set for the row. The code now skips adding the 'status' query parameter when processing the Status enum, and only does it when processing other enums. Fixes 0023796 |
Affected Issues 0023796 |
|
mod - core/summary_api.php | Diff File |