[otrs-cvs] ITSMCore/Kernel/System/LinkObject Service.pm, 1.10, 1.10.4.1

"CVS commits notifications of OTRS.org" <[email protected]> Sat, 23 Mar 2013 14:18:14 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMCore/Kernel/System/LinkObject
In directory lancelot:/tmp/cvs-serv16166/Kernel/System/LinkObject

Modified Files:
      Tag: rel-3_1
	Service.pm 
Log Message:
Fixed bug# 9282 - Service link table does not show type and criticality any more.

Author: ub

Index: Service.pm
===================================================================
RCS file: /home/cvs/ITSMCore/Kernel/System/LinkObject/Service.pm,v
retrieving revision 1.10
retrieving revision 1.10.4.1
diff -2 -u -d -r1.10 -r1.10.4.1
--- Service.pm	14 Dec 2010 11:08:56 -0000	1.10
+++ Service.pm	23 Mar 2013 14:18:09 -0000	1.10.4.1
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/LinkObject/Service.pm - to link service objects
-# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -81,6 +81,7 @@
                 # get service data
                 my %ServiceData = $Self->{ServiceObject}->ServiceGet(
-                    ServiceID => $ServiceID,
-                    UserID    => $Param{UserID},
+                    ServiceID     => $ServiceID,
+                    IncidentState => 1,
+                    UserID        => $Param{UserID},
                 );
 
@@ -141,6 +142,7 @@
     # get service
     my %Service = $Self->{ServiceObject}->ServiceGet(
-        ServiceID => $Param{Key},
-        UserID    => 1,
+        ServiceID     => $Param{Key},
+        IncidentState => 0,
+        UserID        => 1,
     );
 
@@ -213,6 +215,7 @@
         # get service data
         my %ServiceData = $Self->{ServiceObject}->ServiceGet(
-            ServiceID => $ServiceID,
-            UserID    => $Param{UserID},
+            ServiceID     => $ServiceID,
+            IncidentState => 1,
+            UserID        => $Param{UserID},
         );
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log