<%INIT>
my $request_path = $HTML::Mason::Commands::r->path_info;
$request_path =~ s!/{2,}!/!g;

return if $request_path =~ m{History\.html};

my @types = RT->Config->Get('HistoryFilterTypes', $session{'CurrentUser'});
return unless $types[0];
@types = @{ $types[0] };
$$skip = 1
    if not grep {$_ eq $Transaction->Type} @types;
</%INIT>
<%ARGS>
$Transaction
$skip
</%ARGS>
