Q: Severity filed off or change the item?

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

Q: Severity filed off or change the item?

Post by amphetamine »

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: 778
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas »

This is described in the manual.

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

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

Post by amphetamine »

anyone could help? please!

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

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

Post by atrol »

Please use Search before posting and read the Manual

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

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

Post by amphetamine »

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