View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027129||mantisbt||filters||public||2020-08-04 17:07||2021-03-07 18:29|
|Priority||high||Severity||major||Reproducibility||have not tried|
|Target Version||2.25.0||Fixed in Version||2.25.0|
|Summary||0027129: Preserving filters does not work correctly on sub-sub-projects|
What I done:
What I expect:
What I see:
The filters of simple projects are preserved, but subprojects always start with the filter of their highest ancestor project.
I hope that it's not a bug in my local installation, but I resetted the code to 24.1 (except config/config_inc.php parts) and the behaviour was the same. As there aren't sub-sub projects on mantisbt.org, I could not check.
This was strange, but I found the bug in set_project.php:
So the effect was that when changing a project while on view_all_bug_page, the new project get's the filter of it's ancestor project. Quite confusing.
MantisBT: master 56bbac9b
2020-08-05 04:48:46Details Diff
|Preserve filters on subprojects
Filters of subprojects were not kept when switching projects, the filter
of the highest ancestor was applied instead.
Patch by @polzin
|mod - set_project.php||Diff File|