FIX: Remember scroll position in long assigned lists

FIX: Remember scroll position in long assigned lists

diff --git a/assets/javascripts/discourse-assign/routes/group-assigned-show.js.es6 b/assets/javascripts/discourse-assign/routes/group-assigned-show.js.es6
index 3478794..7280d81 100644
--- a/assets/javascripts/discourse-assign/routes/group-assigned-show.js.es6
+++ b/assets/javascripts/discourse-assign/routes/group-assigned-show.js.es6
@@ -1,4 +1,5 @@
 import DiscourseRoute from "discourse/routes/discourse";
+import { findOrResetCachedTopicList } from "discourse/lib/cached-topic-list";
 
 export default DiscourseRoute.extend({
   queryParams: {
@@ -24,13 +25,16 @@ export default DiscourseRoute.extend({
         "name"
       )}`;
     }
-    return this.store.findFiltered("topicList", {
-      filter: filter,
-      params: {
-        order: params.order,
-        ascending: params.ascending
-      }
-    });
+    const lastTopicList = findOrResetCachedTopicList(this.session, filter);
+    return lastTopicList
+      ? lastTopicList
+      : this.store.findFiltered("topicList", {
+          filter: filter,
+          params: {
+            order: params.order,
+            ascending: params.ascending
+          }
+        });
   },
 
   renderTemplate() {

GitHub sha: cb9ca826

This commit appears in #94 which was merged by davidtaylorhq.