From: <gi...@ma...> - 2009-07-21 14:05:27
|
The branch, master has been updated via 04d6bf91b189b3c44836d8b0cd7ab4a908292b6d (commit) from 0f11c6f327c2d8dea39c280c81a8ef219ab2e2d3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 04d6bf91b189b3c44836d8b0cd7ab4a908292b6d Author: David Hicks <hic...@op...> Date: Tue Jul 21 23:30:35 2009 +1000 Fix #10703: attachment_count column error There was a naming inconsistency (probably a renaming within bug_api) with attachment vs attachment_count. This led to the attachment_count column not displaying the correct column title, as well as display of @attachment_count@ instead of the actual count. ----------------------------------------------------------------------- Summary of changes: core/columns_api.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) ----------------------------------------------------------------------- commit 04d6bf91b189b3c44836d8b0cd7ab4a908292b6d Author: David Hicks <hic...@op...> Date: Tue Jul 21 23:30:35 2009 +1000 Fix #10703: attachment_count column error There was a naming inconsistency (probably a renaming within bug_api) with attachment vs attachment_count. This led to the attachment_count column not displaying the correct column title, as well as display of @attachment_count@ instead of the actual count. diff --git a/core/columns_api.php b/core/columns_api.php index 0c2efa2..175bb36 100644 --- a/core/columns_api.php +++ b/core/columns_api.php @@ -235,7 +235,7 @@ function column_get_title( $p_column ) { } switch( $p_column ) { - case 'attachment': + case 'attachment_count': return lang_get( 'attachments' ); case 'bugnotes_count': return '#'; @@ -629,7 +629,7 @@ function print_column_title_date_submitted( $p_sort, $p_dir, $p_columns_target = * @return null * @access public */ -function print_column_title_attachment( $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { +function print_column_title_attachment_count( $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { global $t_icon_path; $t_show_attachments = config_get( 'show_attachment_indicator' ); @@ -967,7 +967,7 @@ function print_column_bugnotes_count( $p_bug, $p_columns_target = COLUMNS_TARGET * @return null * @access public */ -function print_column_attachment( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { +function print_column_attachment_count( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { global $t_icon_path; # Check for attachments ----------------------------------------------------------------------- -- Mantis Bug Tracker |