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
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
]
Sent: Monday, July 31, 2006 8:30 PM
To: David Smithson
Cc: Drew Taylor; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Searching by CurrentUser with QueryBuilder
I think the problem is that the replacement of __CurrentUser__
with the user id is done in /Elements/ShowSearch. That is
only
PROTECTED]
Sent: Monday, July 31, 2006 8:30 PM
To: David Smithson
Cc: Drew Taylor; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Searching by CurrentUser with QueryBuilder
I think the problem is that the replacement of __CurrentUser__
with the user id is done in /Elements/ShowSearch
]
Sent: Monday, July 31, 2006 8:52 PM
To: David Smithson
Cc: Drew Taylor; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Searching by CurrentUser with QueryBuilder
In RT::Tickets::_WatcherLimit, try changing:
$o-Load($value);
to:
$o-Load( $value =~ /__CurrentUser__/ ?
$self-CurrentUser
On Wed, 2006-07-19 at 10:50 -0600, Ole Craig wrote:
On Tue, 2006-07-11 at 10:13 -0400, Drew Taylor wrote:
Thanks! That did the trick.
[...]
I have a fresh 3.6.0 installation we're customizing. We'd like to
create a saved search that searches for Owner = '$RT::CurrentUser'
(as
On Tue, 2006-07-11 at 10:13 -0400, Drew Taylor wrote:
Thanks! That did the trick.
[...]
I have a fresh 3.6.0 installation we're customizing. We'd like to
create a saved search that searches for Owner = '$RT::CurrentUser'
(as opposed to a static username like Owner = 'drew'), but this
Thanks! That did the trick.
Drew
-Original Message-
From: Todd Chapman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 11:19 PM
To: Drew Taylor
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Searching by CurrentUser with QueryBuilder
On Mon, Jul 10, 2006 at 05:44