Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_has_groups() available via ajax search but not GET var?


  • JohnnyJonJon
    Participant

    @johnnyjonjon

    I have a custom bit of code to loop through bp_has_groups() for members on a member search results, however, even though it’s the same page that returns results, the groups are not printed when using the top right search, but they are returned after hitting submit on the ajax-driven search.. any ideas? BP 1.7beta1

    This is the code I’m using on /members/members-loop.php:

    if ( bp_has_groups(‘type=alphabetical&user_id=’ . bp_get_member_user_id()) ) :
    etc.

    Thanks, Jon

  • The topic ‘bp_has_groups() available via ajax search but not GET var?’ is closed to new replies.
Skip to toolbar