Skip to:
Content

BuddyPress.org

Changeset 584


Ignore:
Timestamp:
11/27/2008 12:35:25 AM (13 years ago)
Author:
apeatling
Message:

Added missing pagination SQL to group directory letter search results.

File:
1 edited

Legend:

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

    r583 r584  
    456456        }
    457457               
    458         $paged_groups = $wpdb->get_results( $wpdb->prepare( "SELECT id as group_id FROM {$bp['groups']['table_name']} WHERE name LIKE '$letter%%' ORDER BY name ASC" ) );
     458        $paged_groups = $wpdb->get_results( $wpdb->prepare( "SELECT id as group_id FROM {$bp['groups']['table_name']} WHERE name LIKE '$letter%%' ORDER BY name ASC {$pag_sql}" ) );
    459459       
    460460        return array( 'groups' => $paged_groups, 'total' => $total_groups );
Note: See TracChangeset for help on using the changeset viewer.