[rt-users] CurrentUserEmail in search - better way instead copying Tickets_Local.pm
Daniel Schwager
Daniel.Schwager at dtnet.de
Tue Jan 20 11:57:31 EST 2015
Hi Kevin,
> Does
> Requestor = '__CurrentUser__'
> not work?
Oh - yes, this works!! I didn't know about this "Requestor" keyword. Great! Thank!
> > I tried to just copy _parser() method - but perl cannot find
> > variables from the base class Tickets.pm like FIELD_METADATA or %dispatch ..
>
> I suspect you failed to add package RT::Tickets; to the top of your
> Tickets_Local.pm (those variables are marked our so should be fine to
> use).
I added "package RT::Tickets" - but doesn't matter. I will use your suggested solution!
Thanks
Danny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2279 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150120/3d98a0c7/attachment.bin>
More information about the rt-users
mailing list