mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Previously we only calc'd stats on nested topics when there is a `nested_topic` record. That record doesn't exist when nested is the default view, so all topics had incorrect stats. Also added a codepath that serves all posts when loading more for a post. It only gets hit when there is a data inconsistency so should be safe. |
||
|---|---|---|
| .. | ||
| ancestor_walker.rb | ||
| post_preloader.rb | ||
| post_tree_serializer.rb | ||
| sort.rb | ||
| tree_loader.rb | ||