TryGhost/Ghost — pull request #1143 by Keichi (2013-10-17 09:40:23+00:00)
Title: Fixes bug at content list pagination

Fixes #818. This bug was caused by `this.collection.fetch`, which is called when the content list scroll bar passes the threshold and we have to load more posts. With no options passed, `Backbone.Collection.fetch` will clear its collection and populate with new data retrieved from the server. So every time you scroll down till AJAX request happens, then scroll up and select the first post for example, preview pane will be empty.

Following changes are made:

- Pass `remove: false` to `this.collection.fetch` so that collection is not reset.
- Added function `renderNew(newModel)` which will render only new items.