edx-solutions/xblock-discussion — pull request #31 by mtyaka (2014-10-07 07:24:05+00:00)
Title: Add thread to collection when loading single thread.

When the thread that is being requested directly (through the url) isn't
part of the @discussion collection (only the first page of threads is
loaded initially, an old thread may not be present on the first page),
add it to the collection after it's loaded so that changes to the current
thread (upvotes, nr of comments...) are reflected in the sidebar.