Skip to:
Content

BuddyPress.org

Changeset 1148


Ignore:
Timestamp:
02/25/2009 04:40:09 AM (16 years ago)
Author:
apeatling
Message:

FIxes #515, previous commit fixed #514

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r1067 r1148  
    235235                $table_name = $wpdb->base_prefix . 'user_' . $friend_ids[$i] . '_activity_cached';
    236236
    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" ) );
    238238                $activities[$i]['full_name'] = bp_fetch_user_fullname( $friend_ids[$i], false );
    239239            }
Note: See TracChangeset for help on using the changeset viewer.