View Issue: Add Product Version in List

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Guest

View Issue: Add Product Version in List

Post by Guest »

Hello,

I would like to have the Product Version in the list of Issues. Is there a configuration setting to add this column?

Mantis 1.0.1

Thanks
Alfonso
http://www.calcula.de
http://www.klavitomat.de
leblancma
Posts: 37
Joined: 09 Jan 2006, 15:22
Location: Canada
Contact:

Adding "Product Version" to the "View Issues&

Post by leblancma »

Hello Alfonso,

To add a column for the "Product Version" to the "View Issues" page, you need to add a custom function.

A. Create a new file in your Mantis folder and call it "custom_functions_inc.php"

B. In this file you should add a function called
"function custom_function_override_get_columns_to_view()"

C. Copy from file "custom_function_api.php" the code for
"function custom_function_default_get_columns_to_view(...)"

D. In the else part if the if statement that says
if ( $p_columns_target == COLUMNS_TARGET_CSV_PAGE )
you need to add a line like
$t_columns[] = 'version';
Place this line in the spot where you wish the new column to appear.

I think that's all you need to do. Let us know if this worked.

Regards,

Maurice
Post Reply