[buddypress-trac] [BuddyPress Trac] #5411: Members nav of single group : total members seems not set

buddypress-trac noreply at wordpress.org
Thu Mar 6 17:34:31 UTC 2014


#5411: Members nav of single group : total members seems not set
------------------------------+---------------------------
 Reporter:  imath             |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.0
Component:  Groups            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------------

Comment (by dcavins):

 Could this change be breaking  `$groups_template` object creation in BP
 Group Hierarchy? Here's an example of the `$groups_template` object,
 captured within the function `bp_group_list_admins()` (my BP is up to
 r8063).

 {{{
 BP_Groups_Hierarchy_Template Object
 (
     [vars] => Array
         (
             [params] => Array
                 (
                 )

         )

     [current_group] => 0
     [group_count] => 1
     [groups] => Array
         (
             [0] => stdClass Object
                 (
                     [group_id] => 17
                 )

         )

     [group] => BP_Groups_Hierarchy Object
         (
             [vars] => Array
                 (
                     [parent_id] => 15
                     [true_slug] => captains-and-cormorants
                     [path] => category-test/captains-and-cormorants
                 )

             [id] => 17
             [creator_id] => 1
             [name] => Captains and cormorants
             [slug] => category-test/captains-and-cormorants
             [description] => Especially for you other types
             [status] => private
             [enable_forum] => 1
             [date_created] => 2013-08-08 14:58:56
             [admins] =>
             [mods] =>
             [total_member_count] =>
             [is_member] =>
             [is_invited] =>
             [is_pending] =>
             [last_activity] =>
             [user_has_access] =>
             [args:protected] =>
         )

     [in_the_loop] => 1
     [pag_page] => 1
     [pag_num] => 20
     [pag_links] =>
     [total_group_count] => 1
     [single_group] => 1
     [sort_by] =>
     [order] =>
 )

 }}}

 Could be totally unrelated, but the problem appeared at about the same
 time.

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


More information about the buddypress-trac mailing list