Skip to content

Commit

Permalink
reversed order of leagues on rankings page
Browse files Browse the repository at this point in the history
  • Loading branch information
hdragomir committed Oct 30, 2011
1 parent 042857c commit 0d770b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page-clasament.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?php
$match_query = new WP_Query('post_type=rankings&posts_per_page=-1&order=desc&meta_key=puncte&orderby=meta_value');
$matches = $match_query->get_posts();
$leagues = get_terms('league');
$leagues = array_reverse(get_terms('league'));
global $league;

foreach($leagues as $league ):
Expand Down

0 comments on commit 0d770b2

Please sign in to comment.