pict-section-recordset 1.0.34 → 1.0.35

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.34",
3
+ "version": "1.0.35",
4
4
  "description": "Pict dynamic record set management views",
5
5
  "main": "source/Pict-Section-RecordSet.js",
6
6
  "directories": {
@@ -20,7 +20,7 @@ class ViewRecordSetSUBSETFilterBaseRange extends ViewRecordSetSUBSETFilterBase
20
20
 
21
21
  pRecord.StartClauseDescriptor =
22
22
  {
23
- Hash: this.fable.DataFormat.sanitizeObjectKey(pRecord.StartClauseAddress),
23
+ Hash: this.fable.DataFormat.sanitizeObjectKey(this.constructor.name),
24
24
  Address: pRecord.StartClauseAddress,
25
25
  //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
26
26
  Name: pRecord.MinimumLabel || `Minimum ${pRecord.ExternalFilterByColumn || pRecord.ExternalFilterByColumns?.[0] || pRecord.FilterByColumn || pRecord.FilterByColumns?.[0] || 'Value'}`,
@@ -29,7 +29,7 @@ class ViewRecordSetSUBSETFilterBaseRange extends ViewRecordSetSUBSETFilterBase
29
29
 
30
30
  pRecord.EndClauseDescriptor =
31
31
  {
32
- Hash: this.fable.DataFormat.sanitizeObjectKey(pRecord.EndClauseAddress),
32
+ Hash: this.fable.DataFormat.sanitizeObjectKey(this.constructor.name),
33
33
  Address: pRecord.EndClauseAddress,
34
34
  Name: pRecord.MaximumLabel || `Maximum ${pRecord.ExternalFilterByColumn || pRecord.ExternalFilterByColumns?.[0] || pRecord.FilterByColumn || pRecord.FilterByColumns?.[0] || 'Value'}`,
35
35
  DataType: 'String',
@@ -81,7 +81,7 @@ class ViewRecordSetSUBSETFilterBase extends libPictView
81
81
  pRecord.ClauseDescriptor =
82
82
  {
83
83
  Address: pRecord.ClauseValueAddress,
84
- Hash: this.fable.DataFormat.sanitizeObjectKey(pRecord.ClauseValueAddress),
84
+ Hash: this.fable.DataFormat.sanitizeObjectKey(this.constructor.name),
85
85
  //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
86
86
  Name: pRecord.Label || pRecord.ExternalFilterByColumn || pRecord.ExternalFilterByColumns?.[0] || pRecord.FilterByColumn || pRecord.FilterByColumns?.[0] || 'Value',
87
87
  DataType: 'String',