Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/23/2009 01:18:49 AM (16 years ago)
Author:
apeatling
Message:

Added ability to loop groups alphabetically by using 'type=alphabetical' in the site groups loop. Fixes #764

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-templatetags.php

    r1922 r1929  
    18201820                    $this->groups = groups_get_active( $this->pag_num, $this->pag_page );
    18211821                    break; 
     1822
     1823                case 'alphabetical': default:
     1824                    $this->groups = groups_get_alphabetically( $this->pag_num, $this->pag_page );
     1825                    break; 
    18221826               
    18231827                case 'random':     
Note: See TracChangeset for help on using the changeset viewer.