hi

try to quote the 15 as in  '15' or use QueueName => 'yourQueue'

hiw

-p.




"Eric Boudrand" <[EMAIL PROTECTED]>@otrs.org on 09/11/2006 16:02:41

Please respond to "Development community of OTRS.org" <[email protected]>

Sent by:    [EMAIL PROTECTED]


To:    "Development community of OTRS.org" <[email protected]>
cc:

Subject:    [dev] TicketSearch

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

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to