Changeset 1148
- Timestamp:
- 02/25/2009 04:40:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r1067 r1148 235 235 $table_name = $wpdb->base_prefix . 'user_' . $friend_ids[$i] . '_activity_cached'; 236 236 237 $activities[$i]['activity'] = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$table_name} WHERE is_private = 0 ORDER BY date_recorded $limit_sql" ) );237 $activities[$i]['activity'] = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$table_name} WHERE is_private = 0 ORDER BY date_recorded DESC $limit_sql" ) ); 238 238 $activities[$i]['full_name'] = bp_fetch_user_fullname( $friend_ids[$i], false ); 239 239 }
Note: See TracChangeset
for help on using the changeset viewer.