[solved] modifying queueview: more columns

Moderator: crythias

Locked
felix
Znuny newbie
Posts: 30
Joined: 30 Nov 2010, 15:27
Znuny Version: 2.4.9

[solved] modifying queueview: more columns

Post by felix »

Hello,

i've been messing around in sysconfig and i am encountering one issue: i would like to modify queueview and inserting an additional column: priority.
Is it possible to do this?
thx
regards
You do not have the required permissions to view the files attached to this post.
Last edited by felix on 07 Dec 2010, 11:29, edited 1 time in total.
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Re: modifying queueview: more columns

Post by Mothra »

felix wrote:Hello,

i've been messing around in sysconfig and i am encountering one issue: i would like to modify queueview and inserting an additional column: priority.
Is it possible to do this?
thx
regards
Not via SysConfig, it isn't.

If you fancy your Perl skills, the TicketGet method in Kernel/System/Ticket.pm already joins the ticket table to ticket_priority, so it may just be a case of adding the ticket_priority.name into the first part of the select statement and then creating the extra code for a sortable column in the relevant output templates. However, this kind of change is the sort that will be overwritten if you upgrade to 2.4.8 or above and merging your changes back in, post upgrade, can be a real chore.

On the other hand, if you're not dependent on any additional OTRS modules right now, you could consider OTRS 3, which already has the priority in a separate (and sortable) column in the standard ticket queue view.
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
felix
Znuny newbie
Posts: 30
Joined: 30 Nov 2010, 15:27
Znuny Version: 2.4.9

Re: modifying queueview: more columns

Post by felix »

I installed the latest version and indeed, it is possible to filter on it.
Thx
Locked