[rt-devel] 2 Quick questions for update of statistics package to RT3

Phil Homewood pdh at snapgear.com
Thu Jul 17 23:42:22 EDT 2003


Harald Wagener wrote:
> 2) The statistics package uses a 'BLOODY HACK' to iterate through lists  
> of tickets. The original code yields the following error:
> 
> error:?
> Can't locate object method "Next" via package "RT::EasySearch" (perhaps  
> you forgot to load "RT::EasySearch"?) at  
> /opt/rt3/share/html/Statistics/TimeToResolve/index.html line 47.

Try replacing RT::EasySearch with RT::SearchBuilder, although
I'm not sure why

while (my $t = $tix->Next)

wouldn't work..... but I guess Simon had his reasons :-)
-- 
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances



More information about the Rt-devel mailing list