Thank you Torsten.
Looks difficult, but no impossible. I'll try to modify the loop.
Regards!
David
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi David,
> But, after having a look at that, i didn't find yet why It's notSorry, maybe my advice was a little to short. However, at the end of
> possible to select more than 28 tickets :(. Can you give me a key? Whats
> supposed I have to take care?
AgentNavigationBar.dtl file you'll find the code-lines which implement
the HTML-form, which again keeps the ticket ids of the tickets selected
for bulk action. This form can contain only a limited number of ticket ids:
#-----------------------8><------------------------------------
<form action="$Env{"CGIHandle"}" method="post" name="bulk">
<input type="hidden" name="Action" value="AgentTicketBulk">
<input type="hidden" name="Subaction" value="">
<input type="hidden" name="Queue" value="">
<input type="hidden" name="State" value="">
<input type="hidden" name="ArticleType" value="">
<input type="hidden" name="Subject" value="">
<input type="hidden" name="Body" value="">
<input type="hidden" name="TicketID1" value="">
[..skipping these lines..]
<input type="hidden" name="TicketID29" value="">
</form>
<!-- end NavigationBar -->
#-----------------------8><------------------------------------
...this is part 1 of the (technical) reason why the number of tickets
used for bulk feature is restricted.
Part 2 can be found in Kernel::Modules::AgentTicketBulk in sub Run,
which will handle at most 30 bulk ticket ids:
#-----------------------8><------------------------------------
foreach (1..30) {
if ($Self->{ParamObject}->GetParam(Param => "TicketID$_")) {
push (
@TicketIDs,
$Self->{ParamObject}->GetParam(Param => "TicketID$_")
);
}
}
#-----------------------8><------------------------------------
In order to get bulk action for 100 tickets, you'll need to add the
fields to the "bulk"-HTML-form (part 1) _AND_ extend the loop in sub Run
in Kernel::Modules::AgentTicketBulk to 100 - then it SHOULD work - I
haven't tried it yet.
Maybe you'll find a sophisticated search profile which fits your needs.
> In the other hand, I can't use generic agent because 90% of tickets can
> be erased, and it must be done by hand (how can I identify automatically
> important tickest between tons of waste?).
But this is to specific for a remote advice.
iD8DBQFIX80rvXo8m5PgoXQRAuCsAJoCTp94lW/68sOK8KEt6bYOCF4jvQCdFd1N
regards, Torsten Thau
- --
Torsten Thau, Dipl. Inform.
c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz
phone: +49 371 5347 623
cell: +49 176 66 680 680
personal pgp-key: 0x93E0A174
fax: +49 371 5347 625
http://www.cape-it.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
CdVBjODseJcORec4TGo1EfE=
=zx96
-----END PGP SIGNATURE-----
_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/