pict-section-recordset 1.0.26 → 1.0.27
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.
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
const { ajax } = require('jquery');
|
|
2
1
|
const libPictRecordSet = require('../../source/Pict-Section-RecordSet.js');
|
|
3
|
-
//const libPictSectionForm = require('pict-section-recordset');
|
|
4
|
-
const libPictRecordSetLocalDateRangeFilterView = require('../../source/views/filters/RecordSet-Filter-DateRange.js');
|
|
5
2
|
|
|
6
3
|
class SimpleApplication extends libPictRecordSet.PictRecordSetApplication
|
|
7
4
|
{
|
|
@@ -209,6 +206,10 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
209
206
|
{
|
|
210
207
|
"Type": "DateRange",
|
|
211
208
|
"FilterByColumn": "CreateDate"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"Type": "StringMatch",
|
|
212
|
+
"FilterByColumn": "Genre"
|
|
212
213
|
}
|
|
213
214
|
],
|
|
214
215
|
"FilterRecordsetByTitle":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
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.288",
|
|
37
37
|
"pict-application": "^1.0.27",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.42",
|
|
@@ -73,7 +73,7 @@ class ViewRecordSetSUBSETFilterBase extends libPictView
|
|
|
73
73
|
pRecord.ClauseDescriptor =
|
|
74
74
|
{
|
|
75
75
|
Address: pRecord.ClauseValueAddress,
|
|
76
|
-
Hash: this.fable.DataFormat.
|
|
76
|
+
Hash: this.fable.DataFormat.sanitizeObjectKey(pRecord.ClauseValueAddress),
|
|
77
77
|
//TODO: figure out a nice pattern for extracting a name for the field from the filter - and allow the filter author to provide the label here
|
|
78
78
|
Name: pRecord.Label || pRecord.ExternalFilterByColumn || pRecord.ExternalFilterByColumns?.[0] || pRecord.FilterByColumn || pRecord.FilterByColumns?.[0] || 'Value',
|
|
79
79
|
DataType: 'String',
|