Skip to content
Permalink
Browse files
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 888c40feba3eff0259d83cea3293bebb7995d9f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/misc/taxonomies_classifier.py
@@ -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

0 comments on commit 888c40f

Please sign in to comment.