[buddypress-trac] [BuddyPress Trac] #5356: Custom Sort of Group Members

buddypress-trac noreply at wordpress.org
Tue Feb 11 15:31:56 UTC 2014


#5356: Custom Sort of Group Members
-----------------------------------------+------------------------------
 Reporter:  dimensionmedia               |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Groups                       |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by boonebgorges):

 I'd prefer if we didn't add filters directly to the SQL query string - or,
 at least, if we didn't add filters *only* there. Is there a way that we
 can build out proper 'order' and 'orderby' support for this method? Then
 maybe we can just add a filter to the last line:

 {{{
 return apply_filters( 'bp_group_member_query_group_member_ids',
 $this->group_member_ids );
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5356#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list