[rt-users] Modifying Self Service GUI to show CC tickets, not just requestor tickets (3.0.2)
allen-rt-users at falconstudios.com
allen-rt-users at falconstudios.com
Tue Jun 17 17:56:55 EDT 2003
Resolved this. Passing empty TYPE causes LimitWatchers to search all types.
-Allen
-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of allen-rt-users at falconstudios.com
Sent: Tuesday, June 17, 2003 1:54 PM
To: rt-users at lists.fsck.com
Subject: [rt-users] Modifying Self Service GUI to show CC tickets, not just
requestor tickets (3.0.2)
Hi,
I would like the Self Service interface to show tickets that the user is CC
in addition to the tickets that they are requestor on. I have the privs set
correctly so that the user can type in the ticket number and jump to it, but
it doesn't show up in the list of tickets. The relevent bit of code appears
to be:
[html/SelfService/Elements/MyRequests]
my $MyTickets;
$MyTickets = new RT::Tickets ($session{'CurrentUser'});
$MyTickets->LimitWatcher(TYPE => 'Requestor', VALUE =>
$session{'CurrentUser'}->EmailAddress);
foreach my $status (@status) {
$MyTickets->LimitStatus(VALUE => $status);
}
But I am unsure how to modify this to also show tickets for which this
person is a CC watcher.
Thanks!
More information about the rt-users
mailing list