I am unable to get the search:custom_field functionality to work, based on searching a custom field (named primary_account) using a member’s id as the search term:
{exp:weblog:entries weblog="sub-accts" search:primary_account="{member_id}" status="open" disable="categories|trackbacks|pagination" dynamic="off"}I have tried using {logged_in_member_id} instead, and assigning the member ID using a declared variable such as
{assign_variable:curr_member_id="{logged_in_member_id}"}but nothing has worked. The rest of the code works fine, and when I “hard-wire” a member ID into the code, it works.
Does anybody have any suggestions for how to get the {member_id} variable to work in this context ... or another way of implementing a search like this?