We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28afae9 commit 086225fCopy full SHA for 086225f
src/home/collection.js
@@ -70,6 +70,12 @@ var MongoDBCollectionView = View.extend({
70
}
71
this.visible = true;
72
this.hideEmptyMessage();
73
+
74
+ // temporarily stop listening to queryOption changes to avoid reloading twice
75
+ this.stopListening(app.queryOptions, 'change');
76
+ app.queryOptions.reset();
77
+ this.listenTo(app.queryOptions, 'change', this.onQueryChanged.bind(this));
78
79
this.schema.ns = this.model._id = ns;
80
debug('updating namespace to `%s`', ns);
81
this.schema.reset();
0 commit comments