updated by GasGit automation

This commit is contained in:
Bruce McPherson 2016-10-14 12:10:59 +01:00
parent 2ed18a3253
commit fe3e633bc9

View file

@ -74,13 +74,15 @@ var ServerWatcher = (function (ns) {
// see if filters are being respected
if (watch.domain.applyFilters && watch.domain.property === "Values") {
var values = new SheetsMore.SheetsMore()
var v = new SheetsMore()
.setAccessToken(ScriptApp.getOAuthToken())
.setId(SpreadsheetApp.getActiveSpreadsheet().getId())
.setApplyFilterViews(false)
.applyFilters()
.getValues(r)
.filteredValues;
.enableFilterViews(false)
.applyFiltersToData()
.getValues(r);
// but we just want the filteredvalues
var values = v.filteredValues;
}
else {