Adding additional columns in View Issues
Moderators: Developer, Contributor
Adding additional columns in View Issues
I am wonder how can I add the handler column in the View Issues page?
Which php file should I modify?
Thanks for your help in advance.
Which php file should I modify?
Thanks for your help in advance.
Re: Adding additional columns in View Issues
Isn't the handler shown by default?
Checkout the following Wiki page:
http://www.mantisbt.org/wiki/doku.php/m ... ssues_page
Checkout the following Wiki page:
http://www.mantisbt.org/wiki/doku.php/m ... ssues_page
Migrate your MantisBT to the MantisHub Cloud
Re: Adding additional columns in View Issues
Victor is more-or-less correct.
The handler is shown in parentheses in the Status column. If you wish to show a separate column with the same information, just add
handler_id to $g_view_issues_page_columns in your config_inc.php file.
See the appropriate section in config_defaults_inc.php.
Showing the handler this way seems to be redundant, unless there is a simple way to customize the status column display, possibly by using custom_functions_inc.php. In my installation custom_functions_inc.php has been rendered unnecessary with the introduction of variable $g_view_issues_page_columns .
The handler is shown in parentheses in the Status column. If you wish to show a separate column with the same information, just add
handler_id to $g_view_issues_page_columns in your config_inc.php file.
See the appropriate section in config_defaults_inc.php.
Showing the handler this way seems to be redundant, unless there is a simple way to customize the status column display, possibly by using custom_functions_inc.php. In my installation custom_functions_inc.php has been rendered unnecessary with the introduction of variable $g_view_issues_page_columns .
Regards,
Maurice
Maurice
-
- Posts: 100
- Joined: 14 Aug 2005, 22:47
- Location: new zealand
- Contact:
Re: Adding additional columns in View Issues
I used the admin tool to add a new list of columns (and it worked).
I have 2 comments:
1. project_id is not very useful, it adds the db id for the project... the wiki says it is the project name so this needs correcting. Ideally, it would actually show the project name not the id.
2. once you create the array such as:
array (
0 => 'selection',
1 => 'edit',
2 => 'priority',
3 => 'id',
4 => 'bugnotes_count',
5 => 'attachment',
6 => 'category',
7 => 'severity',
8 => 'status',
9 => 'last_updated',
10 => 'summary',
11 => 'duplicate_id',
12 => 'project_id',
13 => 'eta',
14 => 'version',
15 => 'target_version',
16 => 'fixed_in_version',
)
it is not possible to edit it. you have to delete it and recreate, which is not nice.
so, changing this to edit an existing one would help.
I have 2 comments:
1. project_id is not very useful, it adds the db id for the project... the wiki says it is the project name so this needs correcting. Ideally, it would actually show the project name not the id.
2. once you create the array such as:
array (
0 => 'selection',
1 => 'edit',
2 => 'priority',
3 => 'id',
4 => 'bugnotes_count',
5 => 'attachment',
6 => 'category',
7 => 'severity',
8 => 'status',
9 => 'last_updated',
10 => 'summary',
11 => 'duplicate_id',
12 => 'project_id',
13 => 'eta',
14 => 'version',
15 => 'target_version',
16 => 'fixed_in_version',
)
it is not possible to edit it. you have to delete it and recreate, which is not nice.
so, changing this to edit an existing one would help.
Re: Adding additional columns in View Issues
thanks guys for your comments. i just the handler to be in a separate column all together.
just gets anonying when it suddenly disappears from view when i need it the most.
just gets anonying when it suddenly disappears from view when i need it the most.
Re: Adding additional columns in View Issues
I have a strange problem after adding the handler_id in the View Issue page. Somehow, the Assigned To field is blank when filtering by the project level (the project has subprojects). When I filter by the sub project, then the Assigned To field is populated. What is wrong? I have other projects with subproject which does not have this problem. Dunno what is so special about this project. Any ideas?
- Attachments
-
- handlerid1.jpg (201.64 KiB) Viewed 16539 times
Re: Adding additional columns in View Issues
Not sure about the sub-projects issue. It would be interesting to know why it works in some scenarios but not others. However, it may be related to the access level required to view the "handler" of issues.
There is now a GUI to allow customizing columns in View Issues, Print Issues, CSV Export and Excel Export. This was recently checked in the development branch and hence will be included in Mantis 1.2.0.
http://www.mantisbt.org/bugs/view.php?id=8923
There is now a GUI to allow customizing columns in View Issues, Print Issues, CSV Export and Excel Export. This was recently checked in the development branch and hence will be included in Mantis 1.2.0.
http://www.mantisbt.org/bugs/view.php?id=8923
Migrate your MantisBT to the MantisHub Cloud
-
- Posts: 100
- Joined: 14 Aug 2005, 22:47
- Location: new zealand
- Contact:
Re: Adding additional columns in View Issues
when will 1.2 be released?
Re: Adding additional columns in View Issues
I knew this was coming! If you are asking about 1.2.0 gold, it take some time since we haven't released any alpha or rc releases. I would suggest you create a forum thread with this question and I can keep it updated with projections.
Migrate your MantisBT to the MantisHub Cloud
Re: Adding additional columns in View Issues
I think I have found the problem in Configuration Setting. Thanks.
Re: Adding additional columns in View Issues
Hi All,
We're looking to do the same thing: Create a separate column for handler_id so that we can sort on that.
I'm not quite following this thread though. How did you remove the parenthetical handler_id from status column?
Thanks
We're looking to do the same thing: Create a separate column for handler_id so that we can sort on that.
I'm not quite following this thread though. How did you remove the parenthetical handler_id from status column?
Thanks
Re: Adding additional columns in View Issues
Adding last comment as column
I would like to see the last comment that is given in a issue in the list.
This can be a extra column or a extra line direct underneeth every issue.
Does anyone if this is possibel and how this can be done?
Thanks in advance.
I would like to see the last comment that is given in a issue in the list.
This can be a extra column or a extra line direct underneeth every issue.
Does anyone if this is possibel and how this can be done?
Thanks in advance.