Hi Chris, Laura,
Many weeks ago i found this piece of code (think it’s from Steven Turner).
<&| /Widgets/TitleBox, title => $title &>
<& /Elements/TicketList, Title => $title,
Format => @Format,
Query => $Query,
Order => $Order,
OrderBy => $OrderBy,
BaseURL => $BaseURL,
Rows => $Rows,
Page => $Page &>
</&>
<%INIT>
my $Rows = $RT::MyRequestsLength;
my $id = $session{‘CurrentUser’}->id;
my $Query = “( "
. join( ’ OR ‘, map "$.id = $id", @roles )
. “)”;
if ( @status ) {
$Query .= " AND ( "
. join( ’ OR ', map "Status = '$’”, @status )
. " )";
}
my $Order = “ASC”;
my $OrderBy = “Created”;
my @Format = qq{
‘id/TITLE:#’,
Priority,
Status,
‘Subject/TITLE:Subject’,
QueueName,
OwnerName};
</%INIT>
<%ARGS>
$friendly_status => loc(‘open’)
$title => loc(“My [_1] requests”, $friendly_status)
@roles => (‘Watcher’)
@status => (‘open’, ‘new’, ‘stalled’, ‘accepted’, ‘implement’, ‘verified’, ‘pending’, ‘authorized’)
$BaseURL => undef
$Page => 1
</%ARGS>
Place it under /local/html/Elements and give it a good name.
Add it to your sideconfig as well
Torsten
Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael KühneVon: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Chris
Gesendet: Donnerstag, 13. März 2008 14:08
An: lgrella
Cc: RT Users
Betreff: Re: [rt-users] RT at a Glance - show tickets I’ve requested?
Laura,
Here’s what I did for this purpose:
Carbon60: Cloud Consulting - Services and Solutions . I think this is what you need, anyway.
Have fun!