MantisBT: master 51e159c4

Author Committer Branch Timestamp Parent
dregad dregad master 2018-01-20 14:31 master 270d408e
Affected Issues  0023796: Filter links for resolved/closed custom statuses in Summary By Status report are incorrect
Changeset

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

mod - core/summary_api.php Diff File