[buddypress-trac] [BuddyPress Trac] #9268: Unexpected behaviour with Friends List default sorting
buddypress-trac
noreply at wordpress.org
Fri Dec 26 01:31:28 UTC 2025
#9268: Unexpected behaviour with Friends List default sorting
--------------------------+---------------------
Reporter: yatesa01 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 14.5.0
Component: Templates | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+---------------------
Comment (by vapvarun):
Verified the patch locally. The root cause is clear - data-bp-
list="members" in the friends template causes JavaScript to use bp-members
session storage key instead of bp-friends, so filter changes don't persist
correctly.
The fix is simple and correct: just change to data-bp-list="friends".
Nice debugging work @pratiklondhe on your first contribution! The session
storage key analysis was spot-on.
Thanks @yatesa01 for the detailed report.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9268#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list