====== Using Numeric Priorities ====== ===== Introduction ===== Some users prefer to use numeric priorities like "1, 2, 3, etc" (where 1 is the highest) rather than using "immediate, urgent, high, etc". This guide goes through the steps of customizing Mantis so that it uses such priority system. ===== config_inc.php ===== # Use numeric priorities $g_priority_enum_string = '1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9'; # Default bug priority when reporting a new bug $g_default_bug_priority = 4; # Use text priorities rather than icons. $g_show_priority_text = ON; ===== Database Upgrade ===== If you already have data in the database, then you will need to run the following UPDATE queries. UPDATE `mantis_bug_table` SET `priority` = 1 WHERE `priority` = 60; UPDATE `mantis_bug_table` SET `priority` = 2 WHERE `priority` = 50; UPDATE `mantis_bug_table` SET `priority` = 3 WHERE `priority` = 40; UPDATE `mantis_bug_table` SET `priority` = 4 WHERE `priority` = 30; UPDATE `mantis_bug_table` SET `priority` = 5 WHERE `priority` = 20; UPDATE `mantis_bug_table` SET `priority` = 6 WHERE `priority` = 10; ===== custom_strings_inc.php ===== Create custom_strings_inc.php in the Mantis root folder with the following contents: