From acaa7de15456a1d4a0d4905da9d46374fa779a7f Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 9 Jul 2014 16:56:21 +1000 Subject: [PATCH] Order player list positions by slug --- templates/player-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/player-list.php b/templates/player-list.php index bc6ff781..850af1a8 100644 --- a/templates/player-list.php +++ b/templates/player-list.php @@ -62,7 +62,7 @@ else: endif; if ( $grouping === 'position' ): - $groups = get_terms( 'sp_position' ); + $groups = get_terms( 'sp_position', array( 'orderby' => 'slug' ) ); else: $group = new stdClass(); $group->term_id = null;