[rt-users] using _CurrentUser_ in a saved search?

Alex J. Avriette avriette at gmail.com
Thu Jan 31 11:08:49 EST 2008


> From: "Alex J. Avriette" <avriette at gmail.com>
> Date: 30Jan, 08 6:52:44 PM EST
> To: Kevin Falcone <falcone at bestpractical.com>
> Subject: Re: [rt-users] using _CurrentUser_ in a saved search?
>
>
> On Jan 30, 2008, at 3:38 PM, Kevin Falcone wrote:
>>
>>
>> __CurrentUser__ will work when on the At a Glance page, but isn't
>> interpolated when running a normal
>> saved search (it gets preprocessed before going to the TicketSQL  
>> code).
>> If you save it and add it to At a Glance you should see it work.
>
>
> Folks, adding the double-underscores worked. The query is now exactly:
>
> Queue = 'Helpdesk' and Owner = '__CurrentUser__' and LastUpdated <  
> '7 days' and LastUpdated > '-7 days'
>
> if anyone's curious. Kevin's right, you can't see the "show results"  
> on the edit page, but it works just fine on At a Glance, which is  
> what I needed for my users. Thanks a bunch, folks.
>
> cheers,
> alex
>
>
> --
> Alex J. Avriette
> This email should not be considered authoritative or even truthful.
> aim:avriettea -- skype:avriette -- linkedin:http://xrl.us/bfdyi --  
> 858-367-7293
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080131/c2ad9f5f/attachment.htm>


More information about the rt-users mailing list