mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:02:38 +08:00

This implementation will need more work in the future. For simplification of tracking and other events (new thread, delete/restore OM...) we used the threads from `threadsManager` which makes pagination more complicated as we already have some results when we start. Note this commit also simplify `Collection` to only have one `load` method which can be called repeatedly.