[buddypress-trac] [BuddyPress Trac] #5404: Can't go on the latest page of "Members"
buddypress-trac
noreply at wordpress.org
Fri Feb 21 02:37:15 UTC 2014
#5404: Can't go on the latest page of "Members"
------------------------------+---------------------
Reporter: elpix | Owner: r-a-y
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.0
Component: Template Pack | Version: 1.9.2
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by r-a-y):
* owner: => r-a-y
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7946"]:
{{{
#!CommitTicketReference repository="" revision="7946"
Fix AJAX pagination when clicked page number is 1000 or more.
Previously, BP's javascript was converting the paginated element
content to a number with the Number() function. This doesn't work
with comma-seperated number strings (eg. 1,000), which returned a NaN
value causing problems during the AJAX callback.
This commit changes the way the page number is parsed in BP's
javascript by grabbing the page number from the 'href' attribute.
Thereby, ensuring that AJAX pagination works for pages greater than
1000.
Fixes #5404
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5404#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list