[otrs-cvs] otrs/Kernel/Modules AdminProcessManagementActivityDialog.pm, 1.32, 1.33

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv9233/Kernel/Modules

Modified Files:
	AdminProcessManagementActivityDialog.pm 
Log Message:
Fixed bug#9065 - Process Management: Service and SLA fields are always shown in ActivityDialogs.

Author: mn

Index: AdminProcessManagementActivityDialog.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AdminProcessManagementActivityDialog.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -2 -u -d -r1.32 -r1.33
--- AdminProcessManagementActivityDialog.pm	14 Jan 2013 14:07:29 -0000	1.32
+++ AdminProcessManagementActivityDialog.pm	22 Jan 2013 08:04:55 -0000	1.33
@@ -66,6 +66,4 @@
         CustomerID  => 'CustomerID',
         Owner       => 'OwnerID',
-        SLA         => 'SLAID',
-        Service     => 'ServiceID',
         Responsible => 'ResponsibleID',
         PendingTime => 'PendingTime',
@@ -73,4 +71,10 @@
     };
 
+    # add service and SLA fields, if option is activated in sysconfig.
+    if ( $Self->{ConfigObject}->Get('Ticket::Service') ) {
+        $Self->{AvailableFields}->{Service} = 'ServiceID';
+        $Self->{AvailableFields}->{SLA}     = 'SLAID';
+    }
+
     my $DynamicFieldList = $Self->{DynamicFieldObject}->DynamicFieldList(
         ObjectType => [ 'Ticket', 'Article' ],
---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.