BuddyDev

Search

Default Sort By Member Type search order?

Tagged: 

  • Participant
    Zillion Dev on #42484

    Hi, I need to sort the Members by members types by default not in search form fields. how can I do that any suggestions?

  • Keymaster
    (BuddyDev Team)
    Posts: 24566
    Brajesh Singh on #42487

    Hi Zillion Dev,
    Welcome to Buddydev.

    BuddyPress does not support order by member type.

    Your best bet is to filter over “bp_user_query_uid_clauses” and join with the terms table.

    There is no efficient or simple solution. You may want to take a look at this post for inspiration.
    http://scribu.net/wordpress/sortable-taxonomy-columns.html

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved