Setting the default category
Moderators: Developer, Contributor
Setting the default category
I hope there is a simple way to do this: I'd like to have the default category be something other than "(select)". Right now, we have defined a single category in each project and would like that to be selected by default. I'm ok with doing this at a global level or at a project-by-project level. Can this be done through one of the Management screens, or can it only be done by modifying source? I'm ok with either option. Thanks!
Re: Setting the default category
there should be an option for this.
I found this: $g_default_bug_category to specify the default category
here: http://www.mantisbt.org/bugs/view.php?id=4102
so i tried setting this in config_inc.php:
$g_default_bug_category = 'default';
It does nothing. What am i doing wrong?
there is this option, which works for me:
$g_allow_no_category = ON;
I found this: $g_default_bug_category to specify the default category
here: http://www.mantisbt.org/bugs/view.php?id=4102
so i tried setting this in config_inc.php:
$g_default_bug_category = 'default';
It does nothing. What am i doing wrong?
there is this option, which works for me:
$g_allow_no_category = ON;
Re: Setting the default category
my guess would be that you need to define the id of the category. You cna either find it in the html code of the select element or you search directly in the category table of mantis
-
- Posts: 1
- Joined: 25 Mar 2014, 12:34
Re: Setting the default category
I'm on version 1.2.15.
I tried setting;
$g_default_bug_category = 2;//default bug category id
Nothing happens...anyone know where I might be going wrong?
TIA
Mark
I tried setting;
$g_default_bug_category = 2;//default bug category id
Nothing happens...anyone know where I might be going wrong?
TIA
Mark
Re: Setting the default category
This option has been removed in 1.2 when implementing http://www.mantisbt.org/bugs/view.php?id=8435
Until now there is no replacement for it
http://www.mantisbt.org/bugs/view.php?id=12711
http://www.mantisbt.org/bugs/view.php?id=8582
https://github.com/mantisbt/mantisbt/co ... 371a16cd03
Until now there is no replacement for it
http://www.mantisbt.org/bugs/view.php?id=12711
http://www.mantisbt.org/bugs/view.php?id=8582
https://github.com/mantisbt/mantisbt/co ... 371a16cd03