[otrs-cvs] CVS: otrs/Kernel/Modules AgentTicketMailbox.pm, 1.10, 1.11

cvs-log at otrs.org cvs-log at otrs.org
Mon Jul 3 15:25:48 CEST 2006


Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv28978/Kernel/Modules

Modified Files:
	AgentTicketMailbox.pm 
Log Message:
use TicketSearch() to get all watched tickets

Index: AgentTicketMailbox.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketMailbox.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** AgentTicketMailbox.pm	3 Jul 2006 09:52:59 -0000	1.10
--- AgentTicketMailbox.pm	3 Jul 2006 12:25:46 -0000	1.11
***************
*** 206,212 ****
      }
      elsif ($Self->{Subaction} eq 'Watched') {
!         @ViewableTickets = $Self->{TicketObject}->TicketWatchList(
!             Type => 'ARRAY',
!             UserID => $Self->{UserID},
          );
      }
--- 206,217 ----
      }
      elsif ($Self->{Subaction} eq 'Watched') {
!         @ViewableTickets = $Self->{TicketObject}->TicketSearch(
!             Result => 'ARRAY',
!             Limit => 1000,
!             OrderBy => $OrderBy,
!             SortBy => $SortByS,
!             WatchUserIDs => [$Self->{UserID}],
!             UserID => 1,
!             Permission => 'ro',
          );
      }



More information about the cvs-log mailing list