pict-section-recordset 1.0.52 → 1.0.53
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"description": "Pict dynamic record set management views",
|
|
5
5
|
"main": "source/Pict-Section-RecordSet.js",
|
|
6
6
|
"directories": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"browser-env": "^3.3.0",
|
|
34
34
|
"eslint": "^9.28.0",
|
|
35
35
|
"jquery": "^3.7.1",
|
|
36
|
-
"pict": "^1.0.
|
|
36
|
+
"pict": "^1.0.324",
|
|
37
37
|
"pict-application": "^1.0.27",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.42",
|
|
@@ -188,7 +188,22 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
188
188
|
{
|
|
189
189
|
return reject(pError);
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
const recordsReturn = this.pict.resolveStateFromAddress(tmpExperience.ResultDestinationAddress);
|
|
192
|
+
const IDFields = ['CreatingIDUser', 'UpdatingIDUser'];
|
|
193
|
+
if (recordsReturn.length)
|
|
194
|
+
{
|
|
195
|
+
for (const k of Object.keys(recordsReturn[0]))
|
|
196
|
+
{
|
|
197
|
+
if (k.startsWith('ID') && k !== `ID${ tmpEntity }`)
|
|
198
|
+
{
|
|
199
|
+
IDFields.push(k);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
this.pict.EntityProvider.cacheConnectedEntityRecords(recordsReturn, IDFields, ['User', 'User'], false, () =>
|
|
204
|
+
{
|
|
205
|
+
resolve({ Records: recordsReturn, Facets: { } });
|
|
206
|
+
});
|
|
192
207
|
});
|
|
193
208
|
// using a space here, otherwise you get a `//` in the URL which breaks some stuff
|
|
194
209
|
});
|