Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_group_has_members() – "order" parameter request

  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I initially created this as a ticket (http://trac.buddypress.org/ticket/921), but thought I’d post it on the forums to see what others thought.

    Love the BP loops!

    I would like to have a few additional parameters for the bp_group_has_members() loop.

    Specifically, “orderby” and “order” arguments to sort by ascending, alphabetical order for example.

    “order” could have the following options – ‘alpha’, ‘joindate’ (current default)

    “orderby” could have the following – ‘ASC’, ‘DESC’

    The default list order is by whoever joined the group first.

    Thoughts? Quick patch? ;)

You must be logged in to reply to this topic.