Hi,

I changed AgentTicketSearch to alow search for the ticktnumber with leading 
TicketHook.
Maybe others need this too.

Regards
Christian

*** ../otrs-2.4.0_beta5/Kernel/Modules/AgentTicketSearch.pm     2009-07-07 
17:45:19.000000000 +0200
--- ../otrs-2.4.0_beta5_cp/Kernel/Modules/AgentTicketSearch.pm 2009-07-16 
18:03:12.000000000 +0200
***************
*** 228,233 ****
--- 228,240 ----
                  $GetParam{$_} =~ s/\s+$//g;
                  $GetParam{$_} =~ s/^\s+//g;
              }
+             # remove the tickethook from ticketnumber
+             if ( $_ eq 'TicketNumber' ) {
+                 my $TicketHook = $Self->{ConfigObject}->Get('Ticket::Hook');
+                 if ( $TicketHook )  {
+                     $GetParam{$_} =~ s/^$TicketHook//i;
+                 }
+             }
          }

          # get array params
---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to