View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0012261||mantisbt||filters||public||2010-08-16 07:30||2017-02-27 12:04|
|Target Version||Fixed in Version|
|Summary||0012261: Cannot filter by versions of parent project when child project selected|
In Mantis I can define "versions" in a project A.
But on the "View Issues" page, when having selected a subproject B of A, the comboboxes "Target Version", "Fixed in Version" and "Product Version" do not(!) contain these versions. Thus filtering is not possible.
|Steps To Reproduce|
Define Project A.
Define Project B as a subproject auf A.
Filtering is only possible, when project A is selected.
|Tags||No tags attached.|
I have the same problem with MantisBT 1.2.8
I am not a specialist but I mmade a change in function "version_get_all_rows_with_subs" file "version_api.php".
the list is correct in the sub-projects, but not quite in the project
31/05/2012 : Sorry but this change does not work !
Duplicate of 0005668 ?
Will this issue be resolved in 1.2.x release?
My vote +1 on this issue and a request to give this issue more priority.
I have just upgraded from 1.6.6 to 1.2.15 just for inheritance of categories and versions and noticed filtering is not possible on inherited versions. That is an essential and primary product functionality when the system allows the use of inheritance.
Any workaround, besides copying all versions back to all projects, is welcome.
patches are also welcome ;-)
Look at 0005668:0037046
Any news on this? Patches referenced don't do anything.
Maybe simple workaround is this:
add this line (parent projects):
$t_project_where = '('. $t_project_where .' or '. version_get_project_where_clause( $p_project_id, null ) .')';
Thanks masud, your patch is beter than this https://www.mantisbt.org/bugs/view.php?id=5668#c37046
I have applied this successfully to v 2.2.0-devmaster-e40a285
|2010-08-16 07:30||Eisbaer||New Issue|
|2011-11-14 04:51||jean-marc.raffolt||Note Added: 0030229|
|2012-01-11 18:19||fuscata||Note Added: 0030895|
|2012-01-12 05:57||dregad||Relationship added||related to 0005668|
|2012-05-31 08:44||jean-marc.raffolt||Note Edited: 0030229||View Revisions|
|2013-02-22 05:26||dregad||Relationship added||has duplicate 0015531|
|2013-02-28 13:35||po||Note Added: 0035331|
|2013-09-23 09:30||mschopman||Note Added: 0038096|
|2013-09-23 09:34||dregad||Note Added: 0038098|
|2013-09-23 10:02||po||Note Added: 0038099|
|2014-08-23 08:52||hippyjim||Note Added: 0041115|
|2014-08-23 08:53||hippyjim||Note Edited: 0041115||View Revisions|
|2015-04-27 09:04||masud||Note Added: 0050633|
|2015-05-18 11:05||artiflo||Note Added: 0050780|
|2017-02-15 09:56||atrol||Relationship added||has duplicate 0022384|
|2017-02-15 10:34||mcmo||Note Added: 0055698|