[buddypress-trac] [BuddyPress Trac] #6189: Query string in directory URL breaks AJAX pagination

buddypress-trac noreply at wordpress.org
Thu Aug 27 23:29:28 UTC 2015


#6189: Query string in directory URL breaks AJAX pagination
-----------------------------------+------------------
 Reporter:  dontdream              |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  2.4
Component:  Component - Members    |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by dontdream):

 I've found a simpler use case where this same bug appears.

 1. Visit the Members Directory page
 2. Enter ''sometext'' (or nothing at all) in the standard Members search
 box and hit ''Search''
 3. Check the pagination links, their href attributes look like

 {{{
 href="?upage=2&s=sometext&members_search_submit=Search"
 }}}

 4. Click one of the pagination links, you'll get the correct results page
 5. Check the new pagination links, their href attributes look like

 {{{
 href="http://example.com/members/?members_search_submit=Search&upage=1&s=sometext"
 }}}

 If you click one of the new pagination links, you get a page that does not
 honor the page length and displays all the results. The usual text
 ''Viewing X - Y of N members'' displays wrong X and Y values.

 The bug appeared when the ''members_search_submit'' query var was
 introduced.

 The underlying bug is the same originally reported, and all the above
 discussion is still valid.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6189#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list