Skip to content
Permalink
Browse files

Merge pull request #1746 from getnikola/fix-timeline-infinite-update

Avoid infinite rebuild of render_posts:timeline_changes.
  • Loading branch information
felixfontein committed May 23, 2015
2 parents 0fdb917 + b7419f7 commit 76fbc116432042dadd3e08b95228d6ec75530935
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -1469,7 +1469,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
# Sort everything.

for thing in self.timeline, self.posts, self.all_posts, self.pages:
thing.sort(key=lambda p: p.date)
thing.sort(key=lambda p: (p.date, p.source_path))
thing.reverse()
self._sort_category_hierarchy()

0 comments on commit 76fbc11

Please sign in to comment.
You can’t perform that action at this time.