<& /Elements/Header, Title => loc("Reported tickets") &> <& /Elements/Tabs &> <& /Elements/ListActions, actions => \@results &>

<% loc('Tickets reported as spam by others without rights to delete tickets.') %> <% loc('Confirm by clicking "S".') %> <% loc('If you have rights to delete tickets then they will be deleted.') %>

<& /Elements/CollectionList, Rows => 100, OrderBy => 'id', Order => 'DESC', %ARGS, Class => 'RT::Tickets', Query => $Query, Format => $Format, AllowSorting => 1, ShowEmpty => 1, &> <%ARGS> $Format => undef <%INIT> my $Query = 'HasAttribute = "SpamReports"'; my @results; $Format ||= qq{ '__id__/TITLE:#', '__Subject__/TITLE:Subject', Requestors, QueueName, ReportSpam };