Is it possible to change the order of columns in Ticketlist report?
If yes, how?
Thank you!
Stats modul, Ticketlist report
Moderator: crythias
-
- Znuny newbie
- Posts: 8
- Joined: 14 Feb 2013, 10:50
- Znuny Version: 3.2.1
- Real Name: Goran Čekol
- Company: MPR
Re: Stats modul, Ticketlist report
I'm still looking for a solution.
-
- 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: Stats modul, Ticketlist report
You have to edit the Kernel/System/Stats/Dynamic/*.pm
E.g. in TicketList.pm you'll find
Here you have to order the columns the way you want...
E.g. in TicketList.pm you'll find
Code: Select all
ATTRIBUTE:
for my $Attribute ( @{$SortedAttributesRef} ) {
next ATTRIBUTE if !$TicketAttributes{$Attribute};
push @ResultRow, $Ticket{$Attribute};
}
push @StatArray, \@ResultRow;
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 8
- Joined: 14 Feb 2013, 10:50
- Znuny Version: 3.2.1
- Real Name: Goran Čekol
- Company: MPR
Re: Stats modul, Ticketlist report
reneeb thank you for your answer.
Since I'm new to OTRS, I'll have to ask you to be more specific.
I'm planning to have more then one report (ticketlist type). Is it possible to set that all in Ticketlist.pm?
An example would be great.
Thank you!
Since I'm new to OTRS, I'll have to ask you to be more specific.
I'm planning to have more then one report (ticketlist type). Is it possible to set that all in Ticketlist.pm?
An example would be great.
Thank you!
Re: Stats modul, Ticketlist report
hi there, I'm looking for the exact same thing.
@gcekol did you find a way to do what you want?
@reneeb could you please give more information on what code we have to fill in the file?
What I'm trying is having the "Priority" Column as the first column. Others (Title, date created, date closed, and dynamic fields are in the correct order)
But priority is still between date closed and dynamic fields.
Thanks a lot
@gcekol did you find a way to do what you want?
@reneeb could you please give more information on what code we have to fill in the file?
What I'm trying is having the "Priority" Column as the first column. Others (Title, date created, date closed, and dynamic fields are in the correct order)
But priority is still between date closed and dynamic fields.
Thanks a lot