dtable-statistic 5.0.48-alpha.15 → 5.0.48-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,7 @@ async function calcViewRowsWithWorker(view, table, value, username, userId, user
36
36
  return [];
37
37
  }
38
38
  const calcWorker = Comlink.wrap(worker);
39
- const rows = await calcWorker.getViewRows(view, table, value, username, userId, userDepartmentIdsMap);
39
+ const rows = await calcWorker.getViewRows(view, clonedTable, value, username, userId, userDepartmentIdsMap);
40
40
  _resultCacheManager.viewRowsCacheManager.set(key, rows);
41
41
  _threadManager.default.removeThread(workerId);
42
42
  return rows;
@@ -62,7 +62,7 @@ async function calcFormulaResultsWithWorker(table, rows, value, formulaColumns,
62
62
  return [];
63
63
  }
64
64
  const calcWorker = Comlink.wrap(worker);
65
- const results = await calcWorker.getTableFormulaResults(table, rows, value, formulaColumns, username, userId, userDepartmentIdsMap);
65
+ const results = await calcWorker.getTableFormulaResults(clonedTable, rows, value, formulaColumns, username, userId, userDepartmentIdsMap);
66
66
  _resultCacheManager.formulaResultsCacheManager.set(key, results);
67
67
  _threadManager.default.removeThread(workerId);
68
68
  return results;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.48-alpha.15",
3
+ "version": "5.0.48-alpha.16",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",