[otrs-cvs] CVS: otrs/Kernel/Modules AgentTicketPhone.pm,1.26,1.27
cvs-log at otrs.org
cvs-log at otrs.org
Wed Nov 8 12:06:51 CET 2006
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv5140/Kernel/Modules
Modified Files:
AgentTicketPhone.pm
Log Message:
fixed not working all owner/responible selection in phone view
Index: AgentTicketPhone.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketPhone.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** AgentTicketPhone.pm 2 Nov 2006 12:20:52 -0000 1.26
--- AgentTicketPhone.pm 8 Nov 2006 11:06:47 -0000 1.27
***************
*** 69,72 ****
--- 69,73 ----
From Subject Body NextStateID TimeUnits
Year Month Day Hour Minute
+ NewResponsibleID ResponsibleAll OwnerAll
AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
***************
*** 257,264 ****
my $Dest = $Self->{ParamObject}->GetParam(Param => 'Dest') || '';
my ($NewQueueID, $To) = split(/\|\|/, $Dest);
- my $AllUsers = $Self->{ParamObject}->GetParam(Param => 'AllUsers') || '';
- if (!$NewQueueID) {
- $AllUsers = 1;
- }
my $CustomerUser = $Self->{ParamObject}->GetParam(Param => 'CustomerUser') ||
$Self->{ParamObject}->GetParam(Param => 'PreSelectedCustomerUser') ||
--- 258,261 ----
***************
*** 267,272 ****
my $CustomerID = $Self->{ParamObject}->GetParam(Param => 'CustomerID') || '';
my $ExpandCustomerName = $Self->{ParamObject}->GetParam(Param => 'ExpandCustomerName') || 0;
! if ($Self->{ParamObject}->GetParam(Param => 'AllUsersRefresh')) {
! $AllUsers = 1;
$ExpandCustomerName = 3;
}
--- 264,273 ----
my $CustomerID = $Self->{ParamObject}->GetParam(Param => 'CustomerID') || '';
my $ExpandCustomerName = $Self->{ParamObject}->GetParam(Param => 'ExpandCustomerName') || 0;
! if ($Self->{ParamObject}->GetParam(Param => 'OwnerAllRefresh')) {
! $GetParam{OwnerAll} = 1;
! $ExpandCustomerName = 3;
! }
! if ($Self->{ParamObject}->GetParam(Param => 'ResponsibleAllRefresh')) {
! $GetParam{ResponsibleAll} = 1;
$ExpandCustomerName = 3;
}
***************
*** 481,487 ****
$Output .= $Self->_MaskPhoneNew(
QueueID => $Self->{QueueID},
! Users => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $AllUsers),
UserSelected => $GetParam{NewUserID},
! ResponsibleUsers => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $AllUsers),
ResponsibleUserSelected => $GetParam{NewResponsibleID},
NextStates => $Self->_GetNextStates(QueueID => $NewQueueID),
--- 482,488 ----
$Output .= $Self->_MaskPhoneNew(
QueueID => $Self->{QueueID},
! Users => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $GetParam{OwnerAll}),
UserSelected => $GetParam{NewUserID},
! ResponsibleUsers => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $GetParam{ResponsibleAll}),
ResponsibleUserSelected => $GetParam{NewResponsibleID},
NextStates => $Self->_GetNextStates(QueueID => $NewQueueID),
More information about the cvs-log
mailing list