Page 1 of 1

Custom Date field in View Issues list

Posted: 01 May 2014, 14:20
by jkpalmer52
I am using Mantis v. 1.1.2. I know I should update/upgrade, but just haven't found the time.

I have added a custom field (type is date) named "CommDate" to the application.

The primary users would like to add a column to display this custom field on the View Issues page.

I beileve that I found the location, in the config_inc.php file, made the changes and saved it.

The column appears in the list but every row displays the value @commdate@ in the column.

I'm lost.

Help appreciated.

Jim P.

Re: Custom Date field in View Issues list

Posted: 01 May 2014, 17:39
by atrol
Just tried latest stable version (1.2.17 at the moment) without any problem.
Do you expect more than 30 minutes of work for an update?

Re: Custom Date field in View Issues list

Posted: 05 May 2014, 12:47
by jkpalmer52
I have upgraded my Mantis installation to 1.2.17. All is good except for one minor issue.

I have a custom field (type is Date), and the field is named "Sent".

I have updated my config_inc.php file as follows:

$g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'bugnotes_count', 'attachment_count', 'category', 'severity', 'target_version', 'reporter_id', 'status', 'last_updated', 'summary', 'sent');

The column 'sent' does not display on my View Issues page.

Help appreciated.

Jim P.

Re: Custom Date field in View Issues list

Posted: 05 May 2014, 13:28
by jkpalmer52
Forgot to use the "custom_" prefix to the field name.

Working now.

Jim P.