Q: Severity filed off or change the item?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
amphetamine
Posts: 57
Joined: Jun 04, 2019 7:17 pm

Q: Severity filed off or change the item?

Post by amphetamine » Jun 05, 2019 12:28 am

Want to disable the severity filed or replace the option items
from

Code: Select all

	FEATURE,
	TRIVIAL,
	TEXT,
	TWEAK,
	MINOR,
	MAJOR,
	CRASH,
	BLOCK  
to

Code: Select all

Not effected,  
Very Low,
Low, 
High,
Very High
anyway to achieve that?

cas
Posts: 668
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Q: Severity filed off or change the item?

Post by cas » Jun 05, 2019 9:59 am

This is described in the manual.

amphetamine
Posts: 57
Joined: Jun 04, 2019 7:17 pm

Re: Q: Severity filed off or change the item?

Post by amphetamine » Jun 12, 2019 10:13 am

anyone could help? please!

atrol
Site Admin
Posts: 7677
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Q: Severity filed off or change the item?

Post by atrol » Jun 15, 2019 4:02 pm

Please use Search before posting and read the Manual

amphetamine
Posts: 57
Joined: Jun 04, 2019 7:17 pm

Re: Q: Severity filed off or change the item?

Post by amphetamine » Jun 30, 2019 1:05 am

Thanks!
Finally, understand the way to change...
1. create custom_strings_inc.php file under config folder, and add

Code: Select all

<?php
$s_severity_enum_string = '10:Not Effected,30:Very Low,50:Low,70:High,90:Very High,';
2. create custom_constants_inc.php file under config folder, and add

Code: Select all

<?php
define( 'Not Effected', 10 );
define( 'Very Low', 30 );
define( 'Low', 50 );
define( 'High', 70 );
define( 'Very High', 90 );
3. add code in the config/config_inc.php

Code: Select all

$g_severity_enum_string = '10:Not Effected,30:Very Low,50:Low,70:High,90:Very High,';

Post Reply