%# If you can't learn to do it well, learn to enjoy doing it badly. <& /Work/Elements/104Header, Title => 'My Requests' &> <& /Work/Elements/SelectSearch, Categories => \%Categories, Category => $Category, %ARGS, ShowRequestor => 0 &> <& /Work/Elements/List, List => $Tickets, Begin => $Begin, URL => '/Work/Requests/Display.html', ARGS => \%ARGS, Role => 'requestor' &> <& /Work/Elements/104Footer &> <%INIT> $session{'WorkPage'} = '/Work/Requests/'; $session{'CcSet'} = 0; $m->comp('/Work/Elements/GotoTicket', Type => 'Requests', GotoTicket => $GotoTicket); my %Categories; my $Tickets = RT::Tickets->new($session{'CurrentUser'}); $m->comp( '/Work/Elements/DoSearch', %ARGS, Tickets => $Tickets, Categories => \%Categories, ); $Tickets->Limit( FIELD => 'Requestor.Id', VALUE => $session{'CurrentUser'}->Id, ); <%ARGS> $Category => '' $Status => 'unresolved' $Begin => 0 $GotoTicket => 0