Include custom field in View Issues page
Moderators: Developer, Contributor
Include custom field in View Issues page
I want to include one of the custom field on the view all bugs pages, is it possible? I know I need to edit the view_issues_page_columns enumeration string but where do I find the variable to include in the array?
Re: Include custom field in View Issues page
Thanks for the link. I followed the instruction but it didn't work for me. I added a custom field called "In/Out of Scope" and I added this line in config_in.php
$g_view_issues_page_columns = array(
'id',
'status',
'summary',
'custom_In/Out_of_Scope',
);
Mantis probably doesn't like the / in custom_In/Out of Scope but I don't know how to fix it. Any suggestion?
Re: Include custom field in View Issues page
Seems that you didn't read the whole thread.
I showed a way how this can be done with configuration in database
http://www.atrol.de/mantisbt/Customview.wmv
I showed a way how this can be done with configuration in database
http://www.atrol.de/mantisbt/Customview.wmv
Re: Include custom field in View Issues page
I did exactly as you shown in the video but it didn't work either. Here is what I entered in Set Configuration Option:atrol wrote:Seems that you didn't read the whole thread.
I showed a way how this can be done with configuration in database
http://www.atrol.de/mantisbt/Customview.wmv
Username: All users
Project Name: All projects
Configuration Option: view_issues_page_columns
Type: complex
Value: array (selection, edit, id, status, summary, custom_In/Out_of_Scope, last_updated)
The View Issues page show all the fields that I specified except for the In/Out_of_Scope column. Please note that there is a / in custom_In/Out_of_Scope. Do I need to convert the / into some special characters that Mantis can understand? What is the special char for /?
Re: Include custom field in View Issues page
you did not enter the values as shown
Stop the video at 0:35
there you can see that the array I entered contains soemething like (0 => id, 1 => .........
you ddin't enter the numbers and the =>
Stop the video at 0:35
there you can see that the array I entered contains soemething like (0 => id, 1 => .........
you ddin't enter the numbers and the =>