Show CustomerCompany column on search result

Moderator: crythias

Post Reply
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Show CustomerCompany column on search result

Post by telephonico »

I m using OTRS 4 and I need show CustomerCompany column on Search Result View.

I solved to show Show CustomerCompany column on Agent Ticket Small Overview,
but I m not able to find a solution for Search Result View...

Anyone can help me?

Thanks in adavance.
wheelshot
Znuny expert
Posts: 188
Joined: 15 Dec 2014, 20:49
Znuny Version: 4.0.24
Location: QC, Canada

Re: Show CustomerCompany column on search result

Post by wheelshot »

Check in Ticket -> Frontend::Agent::Ticket::ViewSearch for the param Ticket::Frontend::AgentTicketSearch###DefaultColumns.

You should be able to show what you need.
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

wheelshot wrote:Check in Ticket -> Frontend::Agent::Ticket::ViewSearch for the param Ticket::Frontend::AgentTicketSearch###DefaultColumns.

You should be able to show what you need.
This is true, I already added the item CustomerCompany,
but the column is empty... what I missing?
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: Show CustomerCompany column on search result

Post by reneeb »

Try CustomerCompanyName
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
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

reneeb wrote:Try CustomerCompanyName
I also tried CustomerCompanyName, same... blank column... but i will retray.
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

Not work. :(

In other case like "show Show CustomerCompany column on Agent Ticket Small Overview"
I also modified OTRS code (.pm and .tt files) as explained here:
http://stackoverflow.com/questions/2523 ... -dashboard
wheelshot
Znuny expert
Posts: 188
Joined: 15 Dec 2014, 20:49
Znuny Version: 4.0.24
Location: QC, Canada

Re: Show CustomerCompany column on search result

Post by wheelshot »

Maybe try adding "DynamicField_" before your field name just making a wild guess.
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: Show CustomerCompany column on search result

Post by reneeb »

CustomerCompany is not a dynamic field...

Do the logs show any messages?
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
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

wheelshot wrote:Maybe try adding "DynamicField_" before your field name just making a wild guess.
DynamicField is for other.
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

reneeb wrote: Do the logs show any messages?
Help me for that logs to show.
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: Show CustomerCompany column on search result

Post by reneeb »

Check the webserver log (/var/log/apache2/error_log or /var/log/httpd/error_log) and the OTRS log (if you use syslog for logging, it's /var/log/messages or /var/log/syslog).
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
telephonico
Znuny newbie
Posts: 7
Joined: 08 Feb 2016, 23:29
Znuny Version: OTRS 4

Re: Show CustomerCompany column on search result

Post by telephonico »

reneeb wrote:Check the webserver log (/var/log/apache2/error_log or /var/log/httpd/error_log) and the OTRS log (if you use syslog for logging, it's /var/log/messages or /var/log/syslog).
No errors...
Post Reply