User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:customizing_columns_in_view_issues_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mantisbt:customizing_columns_in_view_issues_page [2008/02/18 14:16] – Added target_version to List of Columns to Select From RavenWebServicesmantisbt: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 ====== ====== Customizing Columns in View Issues Page ======
 +
  
 ===== Introduction ===== ===== Introduction =====
  
-This recipie 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, the column won't be viewed.+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, the column won't be viewed. The current values of the information listed below can be found in the source code in the file config_defaults_inc.php. 
  
 ===== Column Names ===== ===== Column Names =====
Line 28: Line 30:
   * version - The product version to which the issue applies.   * version - The product version to which the issue applies.
   * attachment - The column that identifies whether an issue has attachments.   * attachment - The column that identifies whether an issue has attachments.
-  * category - The issue category.+  * category_id - The issue category.
   * severity - The issue severity.   * severity - The issue severity.
   * status - The issue status.   * status - The issue status.
Line 35: Line 37:
   * bugnotes_count - The number of notes associated with the issue.   * bugnotes_count - The number of notes associated with the issue.
   * custom_xyz - Custom field with name "xyz".   * custom_xyz - Custom field with name "xyz".
 +
  
 ===== Fields viewed by default ===== ===== Fields viewed by default =====
Line 46: Line 49:
   * bugnotes_count   * bugnotes_count
   * attachment - this field won't be shown if 'show_attachment_indicator' configuration option is set to OFF.   * attachment - this field won't be shown if 'show_attachment_indicator' configuration option is set to OFF.
-  * category+  * category_id
   * severity   * severity
   * status   * status
Line 55: Line 58:
  
 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://www.futureware.biz/blog/index.php?title=title_1&more=1&c=1&tb=1&pb=1|blog entry]]. 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://www.futureware.biz/blog/index.php?title=title_1&more=1&c=1&tb=1&pb=1|blog entry]].
 +
 +
  
 ===== Using Configuration ===== ===== Using Configuration =====
Line 70: Line 75:
   * Set the "Value" field to an array of the column names to be shown.  See "Column Names" section for a complete list of options.  An example:   * Set the "Value" field to an array of the column names to be shown.  See "Column Names" section for a complete list of options.  An example:
 <code php> <code php>
-array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' );+array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category_id', 'severity', 'status', 'last_updated', 'summary' );
 </code> </code>
   * Click "Set Configuration Option".   * Click "Set Configuration Option".
 +
 +
 +
 +===== Changes in 1.2 =====
 +The "Manage Configuration" page has changed behaviour in 1.1.2 because of the the security fix detailed in [[http://www.mantisbt.org/bugs/view.php?id=8976|bug 8976]]
 +
 +Since at least 1.2 the name for the Category column has been changed from "category" to "category_id"
 +
 +The correct value to use for the above example starting from 1.2 is:
 +<code php>
 +array( selection, edit, priority, id, sponsorship_total, bugnotes_count, attachment, category_id, severity, status, last_updated, summary )
 +</code>
mantisbt/customizing_columns_in_view_issues_page.1203362217.txt.gz · Last modified: 2008/10/29 04:31 (external edit)

Driven by DokuWiki