Hello everybody!
I use MantisBT V1.2.14.When I report an issue,"Steps To Reproduce" edit box is shown on the "Report Issue" page.I think it is useless.The steps to reproduce the problem should be filled in "Description".So I want to hide the "Steps To Reproduce" edit box.But I don't know how to operate.Could sb. help me?
How to hide the "Steps To Reproduce" edit box?
Moderators: Developer, Contributor
How to hide the "Steps To Reproduce" edit box?
- Attachments
-
- steps.gif (21.06 KiB) Viewed 9379 times
Re: How to hide the "Steps To Reproduce" edit box?
Add the following lines to file config_inc.php
Code: Select all
$g_bug_report_page_fields = array(
'category_id',
'view_state',
'handler',
'priority',
'severity',
'reproducibility',
'platform',
'os',
'os_version',
'product_version',
'product_build',
'target_version',
'summary',
'description',
'additional_info',
'attachments',
'due_date',
);
Re: How to hide the "Steps To Reproduce" edit box?
Perfect!Thank you very much!
atrol wrote:Add the following lines to file config_inc.phpCode: Select all
$g_bug_report_page_fields = array( 'category_id', 'view_state', 'handler', 'priority', 'severity', 'reproducibility', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'summary', 'description', 'additional_info', 'attachments', 'due_date', );
Re: How to hide the "Steps To Reproduce" edit box?
Hello moderator,
Now the "Steps To Reproduce" edit box has been hiden in "Report Issue" page.But when I edit an existing bug,it appears after I click the "edit" button.Need I do any other configurations?
Now the "Steps To Reproduce" edit box has been hiden in "Report Issue" page.But when I edit an existing bug,it appears after I click the "edit" button.Need I do any other configurations?
lchydp wrote:Perfect!Thank you very much!atrol wrote:Add the following lines to file config_inc.phpCode: Select all
$g_bug_report_page_fields = array( 'category_id', 'view_state', 'handler', 'priority', 'severity', 'reproducibility', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'summary', 'description', 'additional_info', 'attachments', 'due_date', );
-
- Posts: 408
- Joined: 28 Jan 2011, 18:47
- Location: France
- Contact:
Re: How to hide the "Steps To Reproduce" edit box?
Hello,
Check into config_defaults_inc.php
you have the same for the update/edit page :
Copy/paste into your config_inc.php with removing 'steps_to_reproduce' line
Check into config_defaults_inc.php
you have the same for the update/edit page :
Code: Select all
/**
* An array of the fields to show on the bug update page.
*
* To overload this setting per project, then the settings must be included in the database through
* the generic configuration form.
*
* @global array $g_bug_update_page_fields
*/
$g_bug_update_page_fields = array (
'id',
'project',
'category_id',
'view_state',
'date_submitted',
'last_updated',
'reporter',
'handler',
'priority',
'severity',
'reproducibility',
'status',
'resolution',
'projection',
'eta',
'platform',
'os',
'os_version',
'product_version',
'product_build',
'target_version',
'fixed_in_version',
'summary',
'description',
'additional_info',
'steps_to_reproduce',
'attachments',
'due_date',
);
Copy/paste into your config_inc.php with removing 'steps_to_reproduce' line
Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
Re: How to hide the "Steps To Reproduce" edit box?
Oh,I see.Thank you very much!
Lapinkiller wrote:Hello,
Check into config_defaults_inc.php
you have the same for the update/edit page :Code: Select all
/** * An array of the fields to show on the bug update page. * * To overload this setting per project, then the settings must be included in the database through * the generic configuration form. * * @global array $g_bug_update_page_fields */ $g_bug_update_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'eta', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'fixed_in_version', 'summary', 'description', 'additional_info', 'steps_to_reproduce', 'attachments', 'due_date', );
Copy/paste into your config_inc.php with removing 'steps_to_reproduce' line
Re: How to hide the "Steps To Reproduce" edit box?
many thanks guys! great hints! ..even in 2022 it is still helpful