2004-11-04, cs keltezéssel 20:38-kor Robert Kehl ezt írta:
> Well, it's just a link, so...
> The Link has to look like the following:
> http://localhost/otrs/index.pl?Action=AgentMove&TicketID=12345&DestQueueID=5
> A really good place for such a link where AgentMailboxTicket.dtl, 
> AgentZoomHead.dtl _and_ TicketView.dtl. Place the following IN ONE LINE 
> at the beginning of each file and remember to change the DestQueueID 
> from 5 to the id of you 'delete' queue.
> 
> <dtl if ($Data{"AgentClose"} ne "0") { $Data{"AgentDeleteStrg"} = " - <a 
> href="$Env{"Baselink"}Action=AgentMove&TicketID=$Data{"TicketID"}&DestQueueID=5" 
> onmouseover="window.status='$Text{"Delete"}'; return true;" 
> onmouseout="window.status='';" class="menuitem">$Text{"Delete"}</a>"; }>
> 
> Now you can use $Data{"AgentDeleteStrg"} in the files wherever you want 
> the link to appear. An agent clicking on it will move the ticket to the 
> desired queue, from which a GA job will/can later delete them. But 
> that's another story to be told in another thread ;) *scnr*

That moves it to an other queue. As I can see, the "deleted" state (can
be set via bulaction) is an other thing.
But it should be done in the same way I think.

Another problem with the bulkaction that it locks all selected tickets
before the action, and I will have several delated state locked tickets
after the action, so I have to unlock one by one... :(
How can I unlock tickets in bulkaction?

Regards,
Slapic


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to