[rt-users] Searching by CurrentUser with QueryBuilder

Todd Chapman todd at chaka.net
Mon Jul 31 23:30:16 EDT 2006


I think the problem is that the replacement of __CurrentUser__
with the user id is done in /Elements/ShowSearch. That is
only used for showing searches on the RT homepage. The link
at the top of the search is to the query builder with the
value replaced. Loading it from saved searches isn't going to
work.

It would be better if the replacement was done in the
TicketSQL parser.

-Todd

On Mon, Jul 31, 2006 at 08:17:03PM -0700, David Smithson wrote:
> Hey, why isn't "Owner = '__CurrentUser__'" working for me?  I can't
> figure this one out.  It's pretty simple it seems, but __CurrentUser__
> isn't getting replaced in the query:
> 
> Queue = 'General' AND Owner = '__CurrentUser__'
> 
> What am I missing?
> 
> David Smithson
> ________________________________
> 



More information about the rt-users mailing list