mantisbt:customizing_columns_in_view_issues_page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mantisbt:customizing_columns_in_view_issues_page [2008/08/13 10:24] – @giallu: you didn't remove the blank between array and opening parentheses... ;-) mtenzer | mantisbt:customizing_columns_in_view_issues_page [2011/09/10 17:28] (current) – Add source for information in case this paghe gets outdated again sidney | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Customizing Columns in View Issues Page ====== | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | This recipe explains how to customize the columns to be viewed in the View Issues page. In the case where a column is specified in the list of columns to be viewed, but the code determines that such field is not applicable or is turned off via configuration, | ||
| + | |||
| + | |||
| + | ===== Column Names ===== | ||
| + | |||
| + | Following is a list of columns to select from: | ||
| + | * selection - The tick box that allows the selection of the bugs to perform a group operation on. | ||
| + | * edit - The pen that allows opening an issue in Edit mode. | ||
| + | * id - The issue id. | ||
| + | * project_id - The project name | ||
| + | * duplicate_id - The id of the last duplicate set for an issue. | ||
| + | * reporter_id - The reporter of the issue. | ||
| + | * handler_id - The handler of the issue (i.e. the person assigned the issue). | ||
| + | * priority - The issue priority. | ||
| + | * reproducibility - The issue reproducibility. | ||
| + | * projection - The issue projection. | ||
| + | * eta - The issue fix eta. | ||
| + | * resolution - The issue resolution. | ||
| + | * target_version - The issue target version. | ||
| + | * fixed_in_version - The issue fixed in version. | ||
| + | * view_state - The issue view state (private vs. public). | ||
| + | * os - The OS to which the issue applies. | ||
| + | * os_build - The OS Build to which the issue applies. | ||
| + | * platform - The platform to which the issue applies. | ||
| + | * version - The product version to which the issue applies. | ||
| + | * attachment - The column that identifies whether an issue has attachments. | ||
| + | * category_id - The issue category. | ||
| + | * severity - The issue severity. | ||
| + | * status - The issue status. | ||
| + | * last_updated - The issue last updated time stamp. | ||
| + | * summary - The issue summary. | ||
| + | * bugnotes_count - The number of notes associated with the issue. | ||
| + | * custom_xyz - Custom field with name " | ||
| + | |||
| + | |||
| + | ===== Fields viewed by default ===== | ||
| + | |||
| + | Following are the fields that are viewed by default: | ||
| + | * selection | ||
| + | * edit | ||
| + | * priority | ||
| + | * id | ||
| + | * sponsorship_total - this field won't be shown if ' | ||
| + | * bugnotes_count | ||
| + | * attachment - this field won't be shown if ' | ||
| + | * category_id | ||
| + | * severity | ||
| + | * status | ||
| + | * last_updated | ||
| + | * summary | ||
| + | |||
| + | ===== Using Custom Functions ===== | ||
| + | |||
| + | In versions prior to 1.1.0a1, using custom functions was the only option to customize the columns to be viewed in View Issues page. For more details about this option this [[http:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== Using Configuration ===== | ||
| + | |||
| + | In Mantis 1.1.0a1, support was implemented to allow customizing the columns to be viewed via the configuration. | ||
| + | |||
| + | * Click " | ||
| + | * Click " | ||
| + | * " | ||
| + | * Scroll to the form at the bottom of the page. | ||
| + | * Select the user to which the change applies or "All Users" | ||
| + | * Select the project to which the change applies or "All Projects" | ||
| + | * Type " | ||
| + | * Leave " | ||
| + | * Set the " | ||
| + | <code php> | ||
| + | array ( ' | ||
| + | </ | ||
| + | * Click "Set Configuration Option" | ||
| + | |||
| + | |||
| + | |||
| + | ===== Changes in 1.2 ===== | ||
| + | The " | ||
| + | |||
| + | Since at least 1.2 the name for the Category column has been changed from " | ||
| + | |||
| + | The correct value to use for the above example starting from 1.2 is: | ||
| + | <code php> | ||
| + | array( selection, edit, priority, id, sponsorship_total, | ||
| + | </ | ||
