Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

How to remove Severity, Milestone, Version columns


  • Please log in to reply
2 replies to this topic

#1 shazbell

shazbell

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 May 2014 - 09:07 PM

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!

 

 



#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 14 May 2014 - 12: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.



#3 shazbell

shazbell

    Member

  • Members
  • PipPip
  • 11 posts

Posted 15 May 2014 - 03:57 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users