[model,bugfix][xs]: prevent query function triggering a second query by using silent: true when setting queryState.
This commit is contained in:
@@ -178,7 +178,7 @@ my.Dataset = Backbone.Model.extend({
|
|||||||
this.trigger('query:start');
|
this.trigger('query:start');
|
||||||
|
|
||||||
if (queryObj) {
|
if (queryObj) {
|
||||||
this.queryState.set(queryObj);
|
this.queryState.set(queryObj, {silent: true});
|
||||||
}
|
}
|
||||||
var actualQuery = this.queryState.toJSON();
|
var actualQuery = this.queryState.toJSON();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user