@azrico/webobject 1.4.106 → 1.4.108
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.
|
@@ -1007,18 +1007,17 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
1007
1007
|
readonly = p.shift();
|
|
1008
1008
|
fetchID = p.shift();
|
|
1009
1009
|
if (!search) search = {};
|
|
1010
|
-
|
|
1011
|
-
_context18.next = 8;
|
|
1010
|
+
_context18.next = 7;
|
|
1012
1011
|
return _global.gfunc.run_action("get", this.get_webname(), search, {
|
|
1013
1012
|
fetchID: fetchID
|
|
1014
1013
|
});
|
|
1015
|
-
case
|
|
1014
|
+
case 7:
|
|
1016
1015
|
result_items = _context18.sent;
|
|
1017
|
-
selftype = Object.getPrototypeOf(this);
|
|
1016
|
+
selftype = this.constructor || Object.getPrototypeOf(this);
|
|
1018
1017
|
res = WebObject.map_rowindex(WebObject.mapto(selftype, result_items, readonly));
|
|
1019
1018
|
WebObject.setReadonly(res, readonly);
|
|
1020
1019
|
return _context18.abrupt("return", res);
|
|
1021
|
-
case
|
|
1020
|
+
case 12:
|
|
1022
1021
|
case "end":
|
|
1023
1022
|
return _context18.stop();
|
|
1024
1023
|
}
|