*** core/filter_api.php      Fri Feb 11 14:45:23 2011
--- core/filter_api.php.org  Fri Feb 11 14:45:05 2011
***************
*** 1944,1953 ****
                                ' OR ' . db_helper_like( "$t_bug_text_table.description" ) .
                                ' OR ' . db_helper_like( "$t_bug_text_table.steps_to_reproduce" ) .
                                ' OR ' . db_helper_like( "$t_bug_text_table.additional_information" ) .
!                               ' OR ' . db_helper_like( "$t_bugnote_text_table.note" ) .
!                               ' OR ' . "($t_bug_table.id IN ( SELECT DISTINCT bug_id from " .
!                               db_get_table( 'mantis_custom_field_string_table' ) . " where value LIKE '%$c_search%'))";
!
                        $t_where_params[] = $c_search;
                        $t_where_params[] = $c_search;
                        $t_where_params[] = $c_search;
--- 1944,1951 ----
                                ' OR ' . db_helper_like( "$t_bug_text_table.description" ) .
                                ' OR ' . db_helper_like( "$t_bug_text_table.steps_to_reproduce" ) .
                                ' OR ' . db_helper_like( "$t_bug_text_table.additional_information" ) .
!                               ' OR ' . db_helper_like( "$t_bugnote_text_table.note" );
!
                        $t_where_params[] = $c_search;
                        $t_where_params[] = $c_search;
                        $t_where_params[] = $c_search;