Can someone remnd me how to embed the current_user as a search parameter.
this is not working:
search:agent_id=“CURRENT_USER” but passing the member_id directly does eg. search:agent_id=“29”
Thanks
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 08, 2012 1:17pm
Subscribe [1]#1 / Oct 08, 2012 1:17pm
Can someone remnd me how to embed the current_user as a search parameter.
this is not working:
search:agent_id=“CURRENT_USER” but passing the member_id directly does eg. search:agent_id=“29”
Thanks
#2 / Oct 10, 2012 11:24am
Hi Alli,
CURRENT_USER is only meant for the author_id parameter. Try using {logged_in_member_id} in that parameter instead. Does that work for you?
#3 / Oct 10, 2012 4:32pm
Hi Kevin
I think I needed an early parse parameter so I used mo’ variables and that does the trick.
#4 / Oct 11, 2012 5:53pm
Glad to hear you were able to find a solution, Alli! Anything else I can help with?