
Hi all! Tired of visiting the search page just for executing a search already saved? There's help: I wrote a patch to implement a dropdown box in AgentNavigationBar containing the search profiles of the agent logged in. It works like the upmost dropdown box on the search page. In fact, it uses the functionality of Kernel/Modules/AgentUtilities, too. It mainly consists of a new module Kernel/Output/HTML/SearchProfiler.pm alongside it's .dtl and some changes in Modules/Agent.pm and Kernel/Output/HTML/Standard/AgentNavigationBar.dtl. A new Config.pm option 'SearchProfiler' must be set to '1' to let this work, it defaults to '0' in Defaults.pm. The patch prefetches functionality from OTRS 2.0, ie. it incorporates one function from Kernel/System/SearchProfile.pm. An upgrade to 2.0 won't break OTRS, but render no search profiles. So, it must (and will) be rewritten by the time 2.0 becomes released. Find the patch attached and under: http://wiki.robertkehl.de/index.pl?PatchSearchProfiler With kind regards, Robert Kehl --- Kernel/Output/HTML/Standard/SearchProfiler.dtl.orig 1970-01-01 01:00:00.000000000 +0100 +++ Kernel/Output/HTML/Standard/SearchProfiler.dtl 2004-11-02 23:31:16.000000000 +0100 @@ -0,0 +1,22 @@ +# -- +# SearchProfiler.dtl - provides HTML form for a search profile box +# Copyright (C) 2004 Dipl.-Ing. Robert Kehl, http://roknet.de/, GPL2 applies. +# -- +# $Id: $ +# -- +# This software comes with ABSOLUTELY NO WARRANTY. For details, see +# the enclosed file COPYING for license information (GPL). If you +# did not receive this file, see http://www.gnu.org/licenses/gpl.txt. +# -- +<!-- start search profile form --> +<table border="0" cellspacing="1" cellpadding="3"><tr align="left"><td> +