[rt-users] Statistics - RT3

George Travan GeorgeT at ach.org.au
Wed Jun 18 02:42:33 EDT 2003


I'm having a problem with Simon Cozens Statistics Program under RT3. It
almost works...

error:  Can't locate object method "Next" via package "RT::EasySearch"
(perhaps you forgot to load "RT::EasySearch"?) at
/opt/rt3/share/html/stats/DayOfWeek.html line 65.
 
context:  ...   
61:  my $tix = new RT::Tickets($session{'CurrentUser'}); 
62:  $tix->LimitQueue (VALUE => $queue); 
63:  $tix->UnLimit; 
64:  if ($tix->Count) { 
65:  while (my $t = $tix->RT::EasySearch::Next) { # BLOODY HACK 
66:  $counts[(localtime($t->ResolvedObj->Unix))[6]]{resolved}++ 
67:  if $t->Status eq "resolved"; 
68:  $counts[(localtime($t->LastUpdatedObj->Unix))[6]]{killed}++ 
69:  if $t->Status eq "dead"; 
...   
 
Anyone got the statistics working under rt3??

Regards,

/Geo




More information about the rt-users mailing list