Skip to:
Content

BuddyPress.org

Ticket #5915: 5915.diff

File 5915.diff, 1.8 KB (added by tharsheblows, 9 years ago)
  • src/bp-activity/bp-activity-template.php

     
    195195                        'per_page'          => 20,
    196196                        'page_arg'          => 'acpage',
    197197                        'max'               => false,
     198                        'count_total'       => false,
    198199                        'sort'              => false,
    199200                        'include'           => false,
    200201                        'exclude'           => false,
     
    226227                        $this->activities = bp_activity_get_specific( array(
    227228                                'activity_ids'      => explode( ',', $include ),
    228229                                'max'               => $max,
     230                                'count_total'       => $count_total,
    229231                                'page'              => $this->pag_page,
    230232                                'per_page'          => $this->pag_num,
    231233                                'sort'              => $sort,
     
    240242                        $this->activities = bp_activity_get( array(
    241243                                'display_comments'  => $display_comments,
    242244                                'max'               => $max,
     245                                'count_total'       => $count_total,
    243246                                'per_page'          => $this->pag_num,
    244247                                'page'              => $this->pag_page,
    245248                                'sort'              => $sort,
     
    586589                'page'              => 1,            // which page to load
    587590                'per_page'          => 20,           // number of items per page
    588591                'max'               => false,        // max number to return
     592                'count_total'       => false,        //
    589593                'show_hidden'       => $show_hidden, // Show activity items that are hidden site-wide?
    590594                'spam'              => 'ham_only',   // Hide spammed items
    591595
     
    719723                'per_page'          => $per_page,
    720724                'page_arg'          => $page_arg,
    721725                'max'               => $max,
     726                'count_total'       => $count_total,
    722727                'sort'              => $sort,
    723728                'include'           => $include,
    724729                'exclude'           => $exclude,