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
|
// see if filters are being respected
|
||||||
if (watch.domain.applyFilters && watch.domain.property === "Values") {
|
if (watch.domain.applyFilters && watch.domain.property === "Values") {
|
||||||
|
|
||||||
var values = new SheetsMore.SheetsMore()
|
var v = new SheetsMore()
|
||||||
.setAccessToken(ScriptApp.getOAuthToken())
|
.setAccessToken(ScriptApp.getOAuthToken())
|
||||||
.setId(SpreadsheetApp.getActiveSpreadsheet().getId())
|
.setId(SpreadsheetApp.getActiveSpreadsheet().getId())
|
||||||
.setApplyFilterViews(false)
|
.enableFilterViews(false)
|
||||||
.applyFilters()
|
.applyFiltersToData()
|
||||||
.getValues(r)
|
.getValues(r);
|
||||||
.filteredValues;
|
|
||||||
|
// but we just want the filteredvalues
|
||||||
|
var values = v.filteredValues;
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue