pict-section-recordset 1.24.1 → 1.24.2
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.24.
|
|
3
|
+
"version": "1.24.2",
|
|
4
4
|
"description": "Pict dynamic record set management views",
|
|
5
5
|
"main": "source/Pict-Section-RecordSet.js",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"browser-env": "^3.3.0",
|
|
38
38
|
"eslint": "^9.28.0",
|
|
39
39
|
"jquery": "^3.7.1",
|
|
40
|
-
"pict": "^1.0.
|
|
40
|
+
"pict": "^1.0.389",
|
|
41
41
|
"pict-application": "^1.0.34",
|
|
42
42
|
"pict-docuserve": "^1.4.19",
|
|
43
43
|
"pict-service-commandlineutility": "^1.0.20",
|
|
@@ -127,19 +127,7 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
127
127
|
const tmpBody = { Distinct: true, Columns: pColumn };
|
|
128
128
|
if (tmpOptions.Filter)
|
|
129
129
|
{
|
|
130
|
-
|
|
131
|
-
// GET /FilteredTo/ path segment, which the server URL-decodes. A JSON body is not
|
|
132
|
-
// URL-decoded, so decode it here to keep the POST semantics identical to the GET.
|
|
133
|
-
let tmpFilter = tmpOptions.Filter;
|
|
134
|
-
try
|
|
135
|
-
{
|
|
136
|
-
tmpFilter = decodeURIComponent(tmpOptions.Filter);
|
|
137
|
-
}
|
|
138
|
-
catch (pDecodeError)
|
|
139
|
-
{
|
|
140
|
-
this.pict.log.warn(`RecordSet [${this.options.RecordSet || this.options.Entity}] could not URL-decode the distinct filter for the Query body; sending it verbatim.`, { Error: pDecodeError && pDecodeError.message, Filter: tmpOptions.Filter });
|
|
141
|
-
}
|
|
142
|
-
tmpBody.Filter = tmpFilter;
|
|
130
|
+
tmpBody.Filter = tmpOptions.Filter;
|
|
143
131
|
}
|
|
144
132
|
return tmpEntityProvider.restClient.postJSON({ url: `${this.options.URLPrefix || ''}${this.options.Entity}s/Query`, body: tmpBody }, fHandleDistinctResult);
|
|
145
133
|
}
|