? config_inc_old.php ? error.log ? core/filter_api.phpx Index: view_all_set.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_all_set.php,v retrieving revision 1.44 diff -u -r1.44 view_all_set.php --- view_all_set.php 8 Feb 2005 16:11:19 -0000 1.44 +++ view_all_set.php 14 Feb 2005 19:04:37 -0000 @@ -151,6 +151,9 @@ } } } + + $f_relationship_type = gpc_get_string( 'relationship_type', 'any' ); + $f_relationship_bug = gpc_get_string( 'relationship_bug', 0 ); if ( $f_temp_filter ) { $f_type = 1; @@ -218,6 +221,9 @@ 22: $f_show_version 23: $f_do_filter_by_date 24: $f_custom_field + 25: $f_relationship_type + 26: $f_relationship_bug + */ # Set new filter values. These are stored in a cookie $t_view_all_cookie_id = gpc_get_cookie( config_get( 'view_all_cookie' ), '' ); @@ -285,6 +291,8 @@ $t_setting_arr['view_state'] = $f_view_state; $t_setting_arr['custom_fields'] = $f_custom_fields_data; $t_setting_arr['sticky_issues'] = $f_sticky_issues; + $t_setting_arr['relationship_type'] = $f_relationship_type; + $t_setting_arr['relationship_bug'] = $f_relationship_bug; break; # Set the sort order and direction @@ -317,6 +325,8 @@ $t_setting_arr['show_priority'] = array( '[any]' ); $t_setting_arr['fixed_in_version'] = array( '[any]' ); $t_setting_arr['user_monitor'] = array( '[any]' ); + $t_setting_arr['relationship_type'] = "any"; + $t_setting_arr['relationship_bug'] = 0; $t_custom_fields = custom_field_get_ids(); $t_custom_fields_data = array(); Index: view_filters_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_filters_page.php,v retrieving revision 1.27 diff -u -r1.27 view_filters_page.php --- view_filters_page.php 7 Feb 2005 22:04:10 -0000 1.27 +++ view_filters_page.php 14 Feb 2005 19:27:20 -0000 @@ -11,6 +11,7 @@ require_once( $t_core_path.'compress_api.php' ); require_once( $t_core_path.'filter_api.php' ); + require_once( $t_core_path.'relationship_api.php' ); require_once( $t_core_path.'current_user_api.php' ); require_once( $t_core_path.'bug_api.php' ); require_once( $t_core_path.'string_api.php' ); @@ -248,13 +249,14 @@