Closed scriminaci closed 12 years ago
works with:
var filterx = { field: "age", type: "term", term: "15", fieldType: "number" };
filters = [ {field: "daydate", type: "range", start:"2012-01-01 00:00:00", stop: "2012-01-30 00:00:00", fieldType: "date", controlType: "range_calendar" }];
for(var i=0;i<filters.length;i++)
dataset.queryState.addFilter(filters[i]);
virtualdatasetAge.queryState.addFilter(filterxx);
dataset.fetch(); // needed to populate filter list
Error returned
VModel - query for undefined virtualmodel.js (riga 314) TypeError: this._store is undefined
this._store.query(actualQuery, this.toJSON())
Code