Skip to content

Commit

Permalink
Sort count output. dokufreaks#189
Browse files Browse the repository at this point in the history
Sort count output issue dokufreaks#189
  • Loading branch information
proxymus authored Oct 16, 2018
1 parent bcacfa8 commit ba17857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function tagOccurrences($tags, $namespaces = NULL, $allTags = false, $recursive
// don't return tags without pages
if ($otags[$tag] == 0) unset($otags[$tag]);
}
return $otags;
return ksort($otags);
}

/**
Expand Down

0 comments on commit ba17857

Please sign in to comment.