[buddypress-trac] [BuddyPress Trac] #7205: Adds 'orderby' support to Activity queries

buddypress-trac noreply at wordpress.org
Fri Jul 29 13:50:50 UTC 2016


#7205: Adds 'orderby' support to Activity queries
-------------------------+-------------------------------------------------
 Reporter:  Mamaduka     |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:
Component:  Activity     |   Keywords:  needs-patch 2nd-opinion needs-
 Severity:  normal       |  testing
-------------------------+-------------------------------------------------
 Currently `BP_Activity_Activity::get()` doesn't support 'orderby' query
 arg. `ORDER BY` is hardcoded to 'date_recorded'.

 It would be nice to introduce something similar that WP core query classes
 are doing, since 4.2 - https://make.wordpress.org/core/2015/03/30/query-
 improvements-in-wp-4-2-orderby-and-meta_query/.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7205>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list