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

buddypress-trac noreply at wordpress.org
Tue Oct 25 19:33:21 UTC 2022


#4535: Load More Button loads duplicates
------------------------------+---------------------
 Reporter:  jtymann           |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  11.0.0
Component:  Activity          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13344" 13344]:
 {{{
 #!CommitTicketReference repository="" revision="13344"
 Improve the activity loop to be able to get items below a max. ID

 The `$filter` parameter of this loop now includes a new `$offset_lower`
 argument  making it possible to only retrieve activities having an ID
 lower than this argument provided value.

 We are using this filter to avoid a possible activity duplicate when
 clicking on the "Load More" link.

 Closes https://github.com/buddypress/buddypress/pull/29
 Fixes #4535
 }}}

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


More information about the buddypress-trac mailing list