[buddypress-trac] [BuddyPress Trac] #5404: Can't go on the latest page of "Members"

buddypress-trac noreply at wordpress.org
Thu Feb 20 19:40:52 UTC 2014

#5404: Can't go on the latest page of "Members"
 Reporter:  elpix              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  highest            |   Milestone:  Awaiting Review
Component:  Members            |     Version:  1.9.2
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |

Comment (by r-a-y):

 If I click on the last page in your member pagination links (the 2296th
 page), the POST request shows that the `'page'` number is `NaN`.

 The led me to discover that the problem is with our javascript.

 We attempt to force convert a string to a number.  But since elpix has so
 many members, the '2,296' string doesn't properly get converted to a

 Attached patch is a quick fix at the problem.  Perhaps a better idea would
 be to take the integer from the `upage` parameter in the `href` attribute.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5404#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list