diff -r -b -c -C10 mantis-1.1.6-original/config_defaults_inc.php mantis-1.1.6/config_defaults_inc.php *** mantis-1.1.6-original/config_defaults_inc.php 2008-12-09 11:20:28.000000000 -0800 --- mantis-1.1.6/config_defaults_inc.php 2009-03-30 15:42:35.000000000 -0700 *************** *** 500,520 **** # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". # Some of the columns specified here can be removed automatically if they conflict with other configuration. # For example, sponsorship_total will be removed if sponsorships are disabled. # To include custom field 'xyz', include the column name as 'custom_xyz'. # # Standard Column Names (i.e. names to choose from): # selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta, # resolution, fixed_in_version, view_state, os, os_build, platform, version, date_submitted, attachment, # category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count ! $g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' ); # A configuration option that identifies the columns to be show on the print issues page. # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". $g_print_issues_page_columns = array ( 'selection', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' ); # A configuration option that identifies the columns to be include in the CSV export. # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". $g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' ); --- 500,520 ---- # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". # Some of the columns specified here can be removed automatically if they conflict with other configuration. # For example, sponsorship_total will be removed if sponsorships are disabled. # To include custom field 'xyz', include the column name as 'custom_xyz'. # # Standard Column Names (i.e. names to choose from): # selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta, # resolution, fixed_in_version, view_state, os, os_build, platform, version, date_submitted, attachment, # category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count ! $g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary', 'tags' ); # A configuration option that identifies the columns to be show on the print issues page. # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". $g_print_issues_page_columns = array ( 'selection', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' ); # A configuration option that identifies the columns to be include in the CSV export. # In Mantis 1.1, this option can be overriden using the Generic Configuration screen. # This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view". $g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' ); diff -r -b -c -C10 mantis-1.1.6-original/core/columns_api.php mantis-1.1.6/core/columns_api.php *** mantis-1.1.6-original/core/columns_api.php 2008-12-09 11:20:28.000000000 -0800 --- mantis-1.1.6/core/columns_api.php 2009-03-30 15:41:02.000000000 -0700 *************** *** 646,656 **** --- 646,676 ---- # -------------------- # $p_columns_target: see COLUMNS_TARGET_* in constant_inc.php function print_column_target_version( $p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { echo ''; if ( access_has_bug_level( config_get( 'roadmap_view_threshold' ), $p_row['id'] ) ) { echo $p_row['target_version']; } echo ''; } + + function print_column_title_tags( $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { + if ( $p_columns_target != COLUMNS_TARGET_CSV_PAGE ) { + echo "\t"; + echo 'Tags'; + echo "\n"; + } + } + + function print_column_tags( $p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { + $tags = tag_bug_get_attached($p_row['id']); + echo ''; + reset($tags); + while (list($key, $tag) = each($tags)) + { + echo "" . $tag['name'] . " "; + } + echo ''; + } + ?>