updated by GasGit automation
This commit is contained in:
parent
2ed18a3253
commit
fe3e633bc9
1 changed files with 7 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue