Hi all!

I noticed there was a 'use' line missing in the patch for Agent.pm. It's updated now on:
http://wiki.robertkehl.de/index.pl?PatchSearchProfiler


--- Kernel/Output/HTML/Agent.pm.orig    2004-11-02 21:23:42.000000000 +0100
+++ Kernel/Output/HTML/Agent.pm 2004-11-03 07:47:45.000000000 +0100
@@ -12,6 +12,7 @@
 package Kernel::Output::HTML::Agent;

 use strict;
+use Kernel::Output::HTML::SearchProfiler;

use vars qw($VERSION);
$VERSION = '$Revision: 1.146.2.1 $';
@@ -77,6 +78,18 @@
$Param{Reminder}).'</a>',
);
}
+ # SearchProfiler
+ my $SearchProfilerObject = Kernel::Output::HTML::SearchProfiler->new(
+ ConfigObject => $Self->{ConfigObject},
+ LogObject => $Self->{LogObject},
+ LayoutObject => $Self->{LayoutObject},
+ );
+ $Param{SearchProfilesStrg} = $SearchProfilerObject->GetSearchProfilesList(
+ Title => $Self->{ParamObject}->GetParam(Param => 'Profile') || '',
+ OnChangeSubmit => $Self->{ParamObject}->GetParam(Param => 'OnChangeSubmit') || '1',
+ UserLogin => $Self->{UserLogin},
+ TemplateFile => 'SearchProfiler',
+ );
# create & return output
return $Self->Output(TemplateFile => 'AgentNavigationBar', Data => \%Param).$Output;
}



Regards,

Robert Kehl
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to