From 749601c9d8a75e20abd4cb75928342f14bd5699c Mon Sep 17 00:00:00 2001 From: phoenixeliot Date: Tue, 14 Jun 2016 14:27:57 -0700 Subject: [PATCH] Don't cache classrooms (fetched by memberID) --- app/views/courses/CoursesView.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/courses/CoursesView.coffee b/app/views/courses/CoursesView.coffee index fe70659c4..e4caa6662 100644 --- a/app/views/courses/CoursesView.coffee +++ b/app/views/courses/CoursesView.coffee @@ -42,7 +42,7 @@ module.exports = class CoursesView extends RootView @listenToOnce @courseInstances, 'sync', @onCourseInstancesLoaded @supermodel.loadCollection(@courseInstances) @classrooms = new CocoCollection([], { url: "/db/classroom", model: Classroom }) - @supermodel.loadCollection(@classrooms, { data: {memberID: me.id} }) + @supermodel.loadCollection(@classrooms, { data: {memberID: me.id}, cache: false }) @ownedClassrooms = new Classrooms() @ownedClassrooms.fetchMine({data: {project: '_id'}}) @supermodel.trackCollection(@ownedClassrooms)