Custom Date field in View Issues list

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
jkpalmer52
Posts: 78
Joined: 23 Feb 2005, 17:29
Location: US-Chicago area

Custom Date field in View Issues list

Post 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.
atrol
Site Admin
Posts: 8541
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Custom Date field in View Issues list

Post 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?
Please use Search before posting and read the Manual
jkpalmer52
Posts: 78
Joined: 23 Feb 2005, 17:29
Location: US-Chicago area

Re: Custom Date field in View Issues list

Post 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.
jkpalmer52
Posts: 78
Joined: 23 Feb 2005, 17:29
Location: US-Chicago area

Re: Custom Date field in View Issues list

Post by jkpalmer52 »

Forgot to use the "custom_" prefix to the field name.

Working now.

Jim P.
Post Reply