How to remove Severity, Milestone, Version columns

Support for Traq 3.x
Post Reply
User avatar
shazbell
Member
Posts: 11
Joined: Thu Feb 13, 2014 6:04 am

How to remove Severity, Milestone, Version columns

Post by shazbell » Tue May 13, 2014 7:07 am

I am trying to remove the fields Severity, Milesone, Version from a ticket. I was able to do so my commenting out the appropriate lines in /views/default/tickets/new.phtml, edit.phtml, _update_ticket_form.phtml.
Is there an easier way of doing the same?
 
Also I would like to remove these fields from Filters and Columns section of the "Tickets" page How can I go about making the changes?
The file _columns.phtml has the following line:
<?php foreach (ticketlist_allowed_columns() as $column) { ?>
I am not sure where the tickelist_allowed_columns value is being set. I would appreciate any pointers on this.
 
Thanks in advance!
 
 

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: How to remove Severity, Milestone, Version columns

Post by Jack » Wed May 14, 2014 10:52 am

The "ticketlist_allowed_columns()" function is defined in "vendor/traq/helpers/tickets.php".
 
To remove filters, remove them from the "ticket_filters()" function in the same file.

User avatar
shazbell
Member
Posts: 11
Joined: Thu Feb 13, 2014 6:04 am

Re: How to remove Severity, Milestone, Version columns

Post by shazbell » Fri May 16, 2014 1:57 am

Thanks very much Jack. I was able to hide the columns by editing the functions you listed.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests