%# Never call a man a fool; borrow from him. <& /Foundry/Elements/Header, Title => 'My Page' &>
<& /Foundry/Elements/Tabs, Text => 'Overview' &>
<&|/l&>Overview >> <&|/l&>Tickets I requested

<&|/l&>Status: <& /Foundry/Project/Tracker/FilterStatus, Status => $Status &>

<& /Foundry/Project/Tracker/List, List => $List, Begin => $Begin, URL => '/Foundry/Project/Tracker/Display.html', Hide => 'Requestor', ARGS => \%ARGS &>

<& /Foundry/Elements/Footer &> <%INIT> $session{'WorkPage'} = '/Foundry/Project/Home/MyRequests.html'; my $List = RT::Tickets->new($session{'CurrentUser'}); $List->LimitWatcher(TYPE => 'Requestor', VALUE => $session{'CurrentUser'}->EmailAddress); if ($Status eq 'unresolved') { $List->LimitStatus(VALUE => $_) for RT::Queue->ActiveStatusArray; } elsif ($Status eq 'resolved') { $List->LimitStatus(VALUE => $_) for grep !/deleted/, RT::Queue->InactiveStatusArray; } $List->OrderBy(FIELD => 'Id', ORDER => 'DESC'); $List = [ grep { ($_ and !$_->QueueObj->Disabled) } @{$List->ItemsArrayRef||[]} ]; <%ARGS> $Begin => 0 $Category => '' $Action => '' $Type => '' $Subject => '' $Status => ''