[dev] TicketSearch

Eric Boudrand eb at sistech.fr
Thu Nov 9 16:02:41 CET 2006


Hello,

I am trying to find all open tickets available in a specific queue with :

my @TicketIDs = $TicketObject->TicketSearch(
 Result => 'ARRAY',
 States => 'open',
 QueueIDs => 15,
 );

This call outputs an empty array. In Ticket.pm, the function exits in line
2355. I think the problem come from the fact that there is no UserID defined
from this search. If I add an UserID, the search look in all the queues. How
can I restrict to this specific queue ?

Regards.

Eric Boudrand



More information about the dev mailing list