ywana-core8 0.0.29 → 0.0.34
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/dist/index.cjs +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +2 -11
package/dist/index.modern.js
CHANGED
@@ -4446,7 +4446,6 @@ var TableAPI = function TableAPI(url) {
|
|
4446
4446
|
var queryParams = "?";
|
4447
4447
|
|
4448
4448
|
if (filters) {
|
4449
|
-
console.log('filters', filters);
|
4450
4449
|
var filterQuery = Object.keys(filters).reduce(function (query, key) {
|
4451
4450
|
var value = filters[key];
|
4452
4451
|
|
@@ -4454,7 +4453,7 @@ var TableAPI = function TableAPI(url) {
|
|
4454
4453
|
return query.concat(key + "=" + value + "&");
|
4455
4454
|
} else if (Array.isArray(value)) {
|
4456
4455
|
var param = value.length === 0 ? '' : value.reduce(function (param, item) {
|
4457
|
-
param.concat(key + "=" + item + "&");
|
4456
|
+
param = param.concat(key + "=" + item + "&");
|
4458
4457
|
return param;
|
4459
4458
|
}, "");
|
4460
4459
|
console.log(param);
|
@@ -4463,7 +4462,6 @@ var TableAPI = function TableAPI(url) {
|
|
4463
4462
|
return query.concat(key + "=%" + filters[key] + "%&");
|
4464
4463
|
}
|
4465
4464
|
}, "");
|
4466
|
-
console.log('filterQuery');
|
4467
4465
|
queryParams = queryParams.concat(filterQuery);
|
4468
4466
|
}
|
4469
4467
|
|