View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019573 | mantisbt | other | public | 2015-04-05 06:12 | 2015-09-06 17:37 |
Reporter | atrol | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.2 | ||||
Target Version | 1.3.0-beta.3 | Fixed in Version | 1.3.0-beta.3 | ||
Summary | 0019573: Status legend on "My View" page should not depend on last used filter | ||||
Description | Implementation of 0011554 introduced a new functionality to show just status colors of last used filter in legend or even suppress the display of the legend. This might make sense on "Views Issues" page but not on "My View" page. | ||||
Steps To Reproduce | 1) Filter by a single status on "View Issues" page Watched behavior: There is no status legend displayed. | ||||
Additional Information | Also to consider:
I am not sure if the suppression of the status values makes sense in general. | ||||
Tags | No tags attached. | ||||
MantisBT: master ca2da7d2 2015-05-17 01:05 Details Diff |
Status legend on "My View" independent of current filter Implementation of 0011554 introduced a new functionality to show just status colors of current filter in legend, or even suppress the display of the legend. This makes sense on "Views Issues" page but not on "My View" page. This introduces a new parameter for html_status_legend(), allowing the caller to determine whether the legend should take the filter into consideration or not (by default, it does not and will display all valid status for the workflow). Only "My View" page uses the new parameter. Fixes 0019573 |
Affected Issues 0019573 |
|
mod - core/html_api.php | Diff File | ||
mod - view_all_inc.php | Diff File | ||
MantisBT: master 91f21ca3 2015-05-17 13:48 Details Diff |
Move logic to display status legend to HTML API Avoid code duplication by adding a parameter to html_status_legend() to specify the desired position for the legend, and performing the checks within that function instead of doing it in each of the callers. This follows @vboctor's suggestion in pull request https://github.com/mantisbt/mantisbt/pull/607 Issue 0019573 |
Affected Issues 0019573 |
|
mod - core/bug_group_action_api.php | Diff File | ||
mod - core/html_api.php | Diff File | ||
mod - my_view_page.php | Diff File | ||
mod - view_all_inc.php | Diff File |