Order player gallery positions by slug

This commit is contained in:
Brian Miyaji
2014-07-18 11:09:12 +10:00
parent 28cbca84c1
commit ac70949627

View File

@@ -97,7 +97,7 @@ if ( is_int( $number ) && $number > 0 )
$limit = $number;
if ( $grouping === 'position' ):
$groups = get_terms( 'sp_position' );
$groups = get_terms( 'sp_position', array( 'orderby' => 'slug' ) );
else:
$group = new stdClass();
$group->term_id = null;