Skip to content

adding ability to search a member field in channel entries by id#5189

Open
TomJaeger wants to merge 2 commits intorelease/7.6.0from
feature/channel-entries-member-search
Open

adding ability to search a member field in channel entries by id#5189
TomJaeger wants to merge 2 commits intorelease/7.6.0from
feature/channel-entries-member-search

Conversation

@TomJaeger
Copy link
Copy Markdown
Contributor

adding ability to search a member field in channel entries by id

@freddaw
Copy link
Copy Markdown

freddaw commented Mar 6, 2026

This worked embedding channel entry tags into memberlist tags. I was only able to test with a limited amount of members and entries. Will test with a much larger pool later today to see if it works with acceptable speed.

Main template:

{exp:member:memberlist
    orderby="screen_name"
    sort="asc"
    limit="20"}
    {form_declaration}
        <table>
        <thead>
        <tr>
            <td>Name</td>
            <td>Boats</td> 
        </tr>
        </thead>
        <tbody>
        {member_rows}
            <tr>
                <td><a href="{path:profile}">{name}</a></td>
                <td>{embed="/directories/embed-owners" member_id="{member_id}"}</td>
            </tr>
        {/member_rows}
        </tbody>
        </table>
      
    </form>
{/exp:member:memberlist}

Embed:

{exp:channel:entries
        channel="boats"
        search:selected_member="{embed:member_id}"
        dynamic="no"
        disable="categories"}
        {title}
    {/exp:channel:entries}

@TomJaeger
Copy link
Copy Markdown
Contributor Author

Awesome, thanks for posting feedback! Its worked in our tests as well, so that's good to hear!

@freddaw
Copy link
Copy Markdown

freddaw commented Mar 6, 2026

I was finally able to test with the whole pool of members and data, and it worked really well. I'm very appreciative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants