categories only in subprojects

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
DanielTulp
Posts: 3
Joined: 15 Sep 2009, 10:12

categories only in subprojects

Post 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!
DanielTulp
Posts: 3
Joined: 15 Sep 2009, 10:12

Re: categories only in subprojects

Post by DanielTulp »

this is still a relevant question for me

is there no sollution?
tom_glebas
Posts: 14
Joined: 07 Sep 2009, 23:19

Re: categories only in subprojects

Post 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.
Post Reply