[otrs-cvs] otrs/Kernel/Modules AdminProcessManagementActivityDialog.pm, 1.29, 1.30

"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-serv31346/Kernel/Modules

Modified Files:
	AdminProcessManagementActivityDialog.pm 
Log Message:
- Use note-internal as default for article type.
- Do not show internal dynamic fields in the list of available fields.

Author: mab

Index: AdminProcessManagementActivityDialog.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AdminProcessManagementActivityDialog.pm,v
retrieving revision 1.29
retrieving revision 1.30
diff -2 -u -d -r1.29 -r1.30
--- AdminProcessManagementActivityDialog.pm	20 Nov 2012 14:42:12 -0000	1.29
+++ AdminProcessManagementActivityDialog.pm	27 Nov 2012 08:47:40 -0000	1.30
@@ -80,4 +80,6 @@
     for my $DynamicFieldName ( values %{$DynamicFieldList} ) {
         next if !$DynamicFieldName;
+        next if $DynamicFieldName eq 'ProcessManagementProcessID';
+        next if $DynamicFieldName eq 'ProcessManagementActivityID';
 
         $Self->{AvailableFields}->{"DynamicField_$DynamicFieldName"} = $DynamicFieldName;
@@ -810,16 +812,17 @@
     $Param{ArticleTypeSelection} = $Self->{LayoutObject}->BuildSelection(
         Data => [
+            'note-internal',
+            'note-external',
+            'note-report',
             'phone',
             'fax',
             'sms',
             'webrequest',
-            'note-internal',
-            'note-external',
-            'note-report',
         ],
-        Name        => 'ArticleType',
-        ID          => 'ArticleType',
-        Sort        => 'Alphanumeric',
-        Translation => 1,
+        SelectedValue => 'note-internal',
+        Name          => 'ArticleType',
+        ID            => 'ArticleType',
+        Sort          => 'Alphanumeric',
+        Translation   => 1,
     );
 
---------------------------------------------------------------------
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.