diff -Naurb epia_old/config_defaults_inc.php epia/config_defaults_inc.php
--- epia_old/config_defaults_inc.php 2004-07-12 11:19:46.000000000 +0200
+++ epia/config_defaults_inc.php 2004-07-12 11:48:35.000000000 +0200
@@ -618,6 +618,12 @@
# the bug is in progress, rather than just put in a person's queue.
$g_auto_set_status_to_assigned = ON;
+ # Status threshold on update page
+ # Only status from $g_update_status_minimum to $g_update_status_maximum are shown.
+ # If threshold set to 0, it is disabled.
+ $g_update_status_minimum = FEEDBACK;
+ $g_update_status_maximum = ASSIGNED;
+
############################
# Bug Attachments Settings
############################
diff -Naurb epia_old/core/print_api.php epia/core/print_api.php
--- epia_old/core/print_api.php 2004-06-26 14:30:38.000000000 +0200
+++ epia/core/print_api.php 2004-07-12 11:39:48.000000000 +0200
@@ -571,7 +571,7 @@
# --------------------
# select the proper enum values based on the input parameter
# we use variable variables in order to achieve this
- function print_enum_string_option_list( $p_enum_name, $p_val=0 ) {
+ function print_enum_string_option_list( $p_enum_name, $p_val=0, $p_min=0, $p_max=0 ) {
$g_var = 'g_'.$p_enum_name.'_enum_string';
global $$g_var;
@@ -580,9 +580,12 @@
for ($i=0;$i<$enum_count;$i++) {
$t_elem = explode_enum_arr( $t_arr[$i] );
$t_elem2 = get_enum_element( $p_enum_name, $t_elem[0] );
+ if ( (($p_min == 0) || ($p_min <= $t_elem[0])) &&
+ (($p_max == 0) || ($t_elem[0] <= $p_max))) {
PRINT "";
+ }
} # end for
}
# --------------------