Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/22/2009 04:01:38 PM (17 years ago)
Author:
apeatling
Message:

Fixing member directory search filter pagination.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r1377 r1386  
    997997
    998998function bp_the_site_member_hidden_fields() {
    999     if ( isset( $_GET['s'] ) ) {
     999    if ( isset( $_REQUEST['s'] ) ) {
    10001000        echo '<input type="hidden" id="search_terms" value="' . attribute_escape( $_REQUEST['s'] ) . '" name="search_terms" />';
    10011001    }
    10021002
    1003     if ( isset( $_POST['letter'] ) ) {
     1003    if ( isset( $_REQUEST['letter'] ) ) {
    10041004        echo '<input type="hidden" id="selected_letter" value="' . attribute_escape( $_REQUEST['letter'] ) . '" name="selected_letter" />';
    10051005    }
    10061006
    1007     if ( isset( $_POST['members_search'] ) ) {
     1007    if ( isset( $_REQUEST['members_search'] ) ) {
    10081008        echo '<input type="hidden" id="search_terms" value="' . attribute_escape( $_REQUEST['members_search'] ) . '" name="search_terms" />';
    10091009    }
Note: See TracChangeset for help on using the changeset viewer.