[buddypress-trac] [BuddyPress] #4535: Load More Button loads duplicates

buddypress-trac noreply at wordpress.org
Thu Jun 6 12:58:31 UTC 2013


#4535: Load More Button loads duplicates
--------------------------+-----------------------------
 Reporter:  jtymann       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------
Changes (by boonebgorges):

 * milestone:  1.8 => Future Release


Comment:

 This issue has been partially addressed in r7116 / #4897. When creating
 new activity items via AJAX, duplicates are not returned. However, the
 OP's original scenario - leaving the window open and coming back to it
 later while items have been created elsewhere - will still cause
 duplicates.

 Something like what's being suggested here would be a more general fix,
 but the implementation used here is designed for a plugin/theme. Filtering
 the activity query is fine for a plugin, but we would need to do something
 more systematic for BuddyPress. Something like an `offset` parameter for
 `bp_has_activities()` would do the trick.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4535#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list