[Solved] How to add a column to the 'Article(s)' table

Moderator: crythias

Locked
rmstrath
Znuny newbie
Posts: 9
Joined: 27 Mar 2014, 14:33
Znuny Version: 3.3.5
Real Name: Richard Martin
Company: University of Strathclyde

[Solved] How to add a column to the 'Article(s)' table

Post by rmstrath »

I would like to be able to view the owner history in a column in the Article(s) table within AgentTicketZoom, between the columns 'SUBJECT' & 'CREATED' (see attachment).

Is there any documentation describing how I can do that?
You do not have the required permissions to view the files attached to this post.
Last edited by rmstrath on 02 Apr 2014, 16:22, edited 1 time in total.
OTRS version 3.3.5, Linux (Centos 6.5) & MySQL 5.1.73
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to add a column to the 'Article(s)' table in AgentTi

Post by reneeb »

You need to change Kernel/Output/HTML/Standard/AgentTicketZoom.dtl to add the column and you have to change Kernel/Modules/AgentTicketZoom.pm to provide the information. But: It's relative expensive (performance, ...) to get to know who was the ticket owner when an article was created. You have to grab it from the ticket history.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
rmstrath
Znuny newbie
Posts: 9
Joined: 27 Mar 2014, 14:33
Znuny Version: 3.3.5
Real Name: Richard Martin
Company: University of Strathclyde

Re: How to add a column to the 'Article(s)' table in AgentTi

Post by rmstrath »

OK, thanks.
OTRS version 3.3.5, Linux (Centos 6.5) & MySQL 5.1.73
Locked