From: "Alex J. Avriette" <[EMAIL PROTECTED]>
Date: 30Jan, 08 6:52:44 PM EST
To: Kevin Falcone <[EMAIL PROTECTED]>
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



_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to