AW: [rt-users] Searches.... and CurrentUser
Ham MI-ID, Torsten Brumm
torsten.brumm at Kuehne-Nagel.com
Tue Jan 22 07:29:11 EST 2008
Hi Emmanuel,
You are great! Thanks again for your help :-)
Its working perfect!!!
Torsten
> Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn (Stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne
-----Ursprüngliche Nachricht-----
> Von: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag
> von Emmanuel Lacour
> Gesendet: Dienstag, 22. Januar 2008 09:45
> An: rt-users at lists.bestpractical.com
> Betreff: Re: [rt-users] Searches.... and CurrentUser
>
> On Tue, Jan 22, 2008 at 09:22:32AM +0100, Ham MI-ID, Torsten
> Brumm wrote:
> > Hi RT List,
> >
> > I remember some weeks ago a bigger threat regarding searches with
> > CurrentUser inside.
> >
> > Today i tried to create a global SavedSearch like this:
> AdminCc.Name =
> > '__CurrentUser__' AND ( Status = 'new' OR Status = 'open' )
> >
> > I copied this from My Tickets: Owner = '__CurrentUser__'
> AND ( Status
> > = 'new' OR Status = 'open' )
> >
> > I also tried AdminCc.Name like '__CurrentUser__' both
> without success.
>
> I'm pretty sure that __CurrentUser__ = User.id, not User.Name :(
>
> So try either AdminCc.Id = '__CurrentUser__'.
>
> Here I have search with Requestor.Id = '__CurrentUser__' which works.
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com Commercial
> support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list