@xuda.io/xuda-worker-bundle-min 1.3.794 → 1.3.796
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.
- package/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2277,7 +2277,7 @@ func.datasource.execute = async function (
|
|
|
2277
2277
|
null,
|
|
2278
2278
|
_ds?.progDataSource?.sortModel
|
|
2279
2279
|
);
|
|
2280
|
-
|
|
2280
|
+
|
|
2281
2281
|
const ret_rows_found = await func.db.get_query(
|
|
2282
2282
|
SESSION_ID,
|
|
2283
2283
|
_ds._dataSourceTableId,
|
|
@@ -2291,7 +2291,7 @@ func.datasource.execute = async function (
|
|
|
2291
2291
|
true,
|
|
2292
2292
|
null
|
|
2293
2293
|
);
|
|
2294
|
-
_ds.rows_found = ret_rows_found?.
|
|
2294
|
+
_ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
|
|
2295
2295
|
break;
|
|
2296
2296
|
|
|
2297
2297
|
case "array": {
|
|
@@ -2591,7 +2591,7 @@ func.datasource.execute = async function (
|
|
|
2591
2591
|
case "component":
|
|
2592
2592
|
_ds.data_feed = { sort: {}, groupBy: {}, rows: {} };
|
|
2593
2593
|
|
|
2594
|
-
_ds.rows_found = 0;
|
|
2594
|
+
// _ds.rows_found = 0;
|
|
2595
2595
|
_ds.rows_processed = 0;
|
|
2596
2596
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
2597
2597
|
|
|
@@ -3067,7 +3067,7 @@ func.datasource.run_rows_form = async function (
|
|
|
3067
3067
|
idx,
|
|
3068
3068
|
sort_index
|
|
3069
3069
|
);
|
|
3070
|
-
_ds.rows_found++;
|
|
3070
|
+
// _ds.rows_found++;
|
|
3071
3071
|
};
|
|
3072
3072
|
const delete_row = async function () {
|
|
3073
3073
|
if (_ds) {
|
|
@@ -3076,7 +3076,7 @@ func.datasource.run_rows_form = async function (
|
|
|
3076
3076
|
if (!_ds.v.viewRangeExp_deleted) _ds.v.viewRangeExp_deleted = [];
|
|
3077
3077
|
_ds.v.viewRangeExp_deleted.push(rowIdxP);
|
|
3078
3078
|
}
|
|
3079
|
-
_ds.rows_found--;
|
|
3079
|
+
// _ds.rows_found--;
|
|
3080
3080
|
_ds.viewRangeExp_rows_deleted++;
|
|
3081
3081
|
};
|
|
3082
3082
|
if (_ds.progDataSource?.dataSourceFiltersScript) {
|