[#62,model][xs]: trigger re-query (and facet computation) whenever facets change.
* This is far from perfect (we recompute query results as well as facets) but optimizing can come later.
This commit is contained in:
parent
ae8a3ddab0
commit
56285f0a07
@ -27,6 +27,7 @@ my.Dataset = Backbone.Model.extend({
|
||||
this.docCount = null;
|
||||
this.queryState = new my.Query();
|
||||
this.queryState.bind('change', this.query);
|
||||
this.queryState.bind('facet:add', this.query);
|
||||
},
|
||||
|
||||
// ### query
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user