Hi there,
Does anybody know how to mod week stats at Dashboard?
I made some blindfolded changes at /opt/otrs/Kernel/Output/HTML/DashboardTicketStatsGeneric.pm
Line 58:
my %Axis = (
'14Day' => {
0 => { Day => 'Sun', Created => 0, Closed => 0, },
1 => { Day => 'Mon', Created => 0, Closed => 0, },
2 => { Day => 'Tue', Created => 0, Closed => 0, },
3 => { Day => 'Wed', Created => 0, Closed => 0, },
4 => { Day => 'Thu', Created => 0, Closed => 0, },
5 => { Day => 'Fri', Created => 0, Closed => 0, },
6 => { Day => 'Sat', Created => 0, Closed => 0, },
7 => { Day => 'Sun', Created => 0, Closed => 0, },
8 => { Day => 'Mon', Created => 0, Closed => 0, },
9 => { Day => 'Tue', Created => 0, Closed => 0, },
10 => { Day => 'Wed', Created => 0, Closed => 0, },
11 => { Day => 'Thu', Created => 0, Closed => 0, },
12 => { Day => 'Fri', Created => 0, Closed => 0, },
13 => { Day => 'Sat', Created => 0, Closed => 0, },
},
);
Line 79:
for my $Key ( 0 .. 13 ) {
But I think it's not working.
Any clues?
Thanks in advance.
Modify Weekly Stats
-
- Znuny advanced
- Posts: 138
- Joined: 05 Jun 2009, 11:32
- Znuny Version: 3.3.8
- Company: Netzlink Informationstechnik GmbH
- Location: Wolfenbüttel,GER
- Contact:
Re: Modify Weekly Stats
you renamed the Value of the hash.
I think if you rename '14Day' back to '7Day' it should work.
we did not change the %Axis hash but only expanded the for-loop to (0 .. 14)
I know thats 2weeks+1day
I think if you rename '14Day' back to '7Day' it should work.
we did not change the %Axis hash but only expanded the for-loop to (0 .. 14)
I know thats 2weeks+1day
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM
OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Test: otrs 3.3.8, ITSM
OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4