[dev] Ticket Title

Alexander Koch ak at ilk.net
Mon Sep 5 16:46:44 CEST 2005


Hi Martin,

On Wed, Aug 24, 2005 at 08:20:49AM +0200, Martin Edenhofer wrote:
> Alexander Koch wrote:
> >On Wed, Aug 17, 2005 at 04:39:25PM +0200, Alexander Koch wrote:
>  [...]
> >Should I send patches?
> 
> Yes, you are welcome! :)

So here 2 Diffs, hope it is right. I send only the patches for .pm
files. Template changes are depends on taste. We had made the title
changeable AgentTicketFreeText.dtl and our sales found it great.

Greetings,
Alex

-- 
   Alexander Koch, mailto: ak at ilk.net
   ILK Internet GmbH, Akademiestrasse 25 - 27, D-76133 Karlsruhe
   Tel: +49 (0) 721 9100 0, Fax: +49 (0) 721 9100 191
   http://www.ilk.net
-------------- next part --------------
--- AgentTicketFreeText.pm.orig	2005-08-18 09:48:48.000000000 +0200
+++ AgentTicketFreeText.pm	2005-08-18 10:05:39.000000000 +0200
@@ -114,6 +114,12 @@
                 }
             }
         }
+	# get ticket title
+	my $TicketTitle = $Self->{ParamObject}->GetParam(Param => "Title" );
+	$Self->{TicketObject}->TicketTitleUpdate(
+	      Title => $TicketTitle ,
+	      TicketID => $Self->{TicketID},
+	);
         # print redirect
         return $Self->{LayoutObject}->Redirect(OP => $Self->{LastScreenView});
     }
-------------- next part --------------
--- AgentTicketSearch.pm.orig	2005-08-18 10:06:28.000000000 +0200
+++ AgentTicketSearch.pm	2005-08-18 13:49:13.000000000 +0200
@@ -116,6 +116,7 @@
           TicketCreateTimeStartYear
           TicketCreateTimeStop TicketCreateTimeStopDay TicketCreateTimeStopMonth
           TicketCreateTimeStopYear
+	  Title
         )) {
             # get search string params (get submitted params)
             $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);


More information about the dev mailing list