[otrs-cvs] ITSMCore/Kernel/Modules AdminService.pm, 1.11, 1.12 AdminSLA.pm, 1.11, 1.12
"CVS commits notifications of OTRS.org" <[email protected]> Tue, 9 Jul 2013 17:29:47 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMCore/Kernel/Modules
In directory lancelot:/tmp/cvs-serv25576/Kernel/Modules
Modified Files:
AdminService.pm AdminSLA.pm
Log Message:
Updated files to latest framework version.
Author: ub
Index: AdminService.pm
===================================================================
RCS file: /home/cvs/ITSMCore/Kernel/Modules/AdminService.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -2 -u -d -r1.11 -r1.12
--- AdminService.pm 21 Mar 2013 11:46:40 -0000 1.11
+++ AdminService.pm 9 Jul 2013 17:29:42 -0000 1.12
@@ -296,4 +296,7 @@
$Self->{LayoutObject}->Block( Name => 'ActionOverview' );
+ # get list type
+ my $ListType = $Self->{ConfigObject}->Get('Ticket::Frontend::ListType');
+
# generate ParentOptionStrg
my %ServiceList = $Self->{ServiceObject}->ServiceList(
@@ -306,4 +309,5 @@
SelectedID => $Param{ParentID} || $ServiceData{ParentID},
PossibleNone => 1,
+ TreeView => ($ListType eq 'tree') ? 1 : 0,
DisabledBranch => $ServiceData{Name},
Translation => 0,
Author: ub
Index: AdminSLA.pm
===================================================================
RCS file: /home/cvs/ITSMCore/Kernel/Modules/AdminSLA.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -2 -u -d -r1.11 -r1.12
--- AdminSLA.pm 13 Jun 2013 08:47:57 -0000 1.11
+++ AdminSLA.pm 9 Jul 2013 17:29:42 -0000 1.12
@@ -247,6 +247,7 @@
# get service list
my %ServiceList = $Self->{ServiceObject}->ServiceList(
- Valid => 0,
- UserID => $Self->{UserID},
+ Valid => 0,
+ KeepChildren => 1,
+ UserID => $Self->{UserID},
);
@@ -348,8 +349,12 @@
}
+ # get list type
+ my $ListType = $Self->{ConfigObject}->Get('Ticket::Frontend::ListType');
+
# get service list
my %ServiceList = $Self->{ServiceObject}->ServiceList(
- Valid => 1,
- UserID => $Self->{UserID},
+ Valid => 1,
+ KeepChildren => 1,
+ UserID => $Self->{UserID},
);
@@ -362,4 +367,5 @@
Size => 5,
Translation => 0,
+ TreeView => ($ListType eq 'tree') ? 1 : 0,
Max => 200,
);
---------------------------------------------------------------------
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