Page 1 of 1

categories only in subprojects

Posted: 15 Sep 2009, 10:17
by DanielTulp
Hi,

I have a project with several sub-projects each with a set of categories
now, when I add a new bug, in the/a parent, the categories of the sub-projects are listed as well
I do not want this, can I turn it off somewhere?

using mantis 1.1.8

thanks!

Re: categories only in subprojects

Posted: 08 Oct 2009, 08:39
by DanielTulp
this is still a relevant question for me

is there no sollution?

Re: categories only in subprojects

Posted: 17 Oct 2009, 21:55
by tom_glebas
The "helper_project_specific_where" function in core/helper_api.php is used to find the subprojects of a project. When reporting a new bug, this function is called several layers deep. Modifications to this function will likely impact other operations that might also call it. I've tested a one line modification that seems to work for your situation, but I haven't explored where else it might have impacts. One solution would be to have the bug report page call a duplicated set of special purpose functions for your needs, which of course makes upgrades messy. Let me know if you want to explore this further.