Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Using title in correct language as tie-breaker when sorting taxonomy …
…post lists.
  • Loading branch information
felixfontein committed Jan 11, 2017
1 parent ffca646 commit 888c40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/misc/taxonomies_classifier.py
Expand Up @@ -98,7 +98,7 @@ def _do_classification(self, site):
# Convert sets to lists and sort them
for classification in list(posts_per_classification.keys()):
posts = list(posts_per_classification[classification])
posts = self.site.sort_posts(posts)
posts = self.site.sort_posts(posts, lang)
taxonomy.sort_posts(posts, classification, lang)
posts_per_classification[classification] = posts
# Create hierarchy information
Expand Down

0 comments on commit 888c40f

Please sign in to comment.