[buddypress-trac] [BuddyPress Trac] #8508: Paginate messages and recipients in a thread

buddypress-trac noreply at wordpress.org
Sun Sep 5 18:35:42 UTC 2021


#8508: Paginate messages and recipients in a thread
-------------------------------------------------+-------------------------
 Reporter:  espellcaste                          |       Owner:
                                                 |  espellcaste
     Type:  enhancement                          |      Status:  accepted
 Priority:  high                                 |   Milestone:  10.0.0
Component:  Messages                             |     Version:  1.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |
  reviewed                                       |
-------------------------------------------------+-------------------------

Comment (by espellcaste):

 @imath

 1 - I reviewed other query classes and it seems almost all of them use
 `bp_core_get_incremented_cache` even when querying a paginated page. So
 your suggestion makes sense. I'll work on a update.

 Just a note that the example you provided would get the recipients from
 cache instead of directly querying the database.

 2 - Good catch. I'll update those with the new parameters.

 3 - I'll update as suggested.

 Tks for the feedback. Very useful! :)

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


More information about the buddypress-trac mailing list