nuxeo-development-framework 5.8.3-rc1.6.21 → 5.8.3-rc1.6.22
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.
|
@@ -22281,6 +22281,10 @@ class AggregationDateListComponent extends BaseAggregationField {
|
|
|
22281
22281
|
}
|
|
22282
22282
|
_initValue(obj) {
|
|
22283
22283
|
if (!isFieldValueObject(obj)) {
|
|
22284
|
+
if (this.renderOptions?.convertTime && isDateObject(obj)) {
|
|
22285
|
+
this._handleConvertedTime(this._dateToTimestamp(obj.min), this._dateToTimestamp(obj.max));
|
|
22286
|
+
return;
|
|
22287
|
+
}
|
|
22284
22288
|
this._handleSelection(obj);
|
|
22285
22289
|
return;
|
|
22286
22290
|
}
|
|
@@ -22378,7 +22382,10 @@ class AggregationDateListComponent extends BaseAggregationField {
|
|
|
22378
22382
|
formGroup.addControl(`${this.fieldConfig.aggregation}__minMaxDate`, this.minMaxDateCtrl);
|
|
22379
22383
|
this.minMaxDateCtrl.valueChanges
|
|
22380
22384
|
.pipe(takeUntil(this.destroy$))
|
|
22381
|
-
.subscribe((
|
|
22385
|
+
.subscribe((value) => {
|
|
22386
|
+
if (!value?.min && !value?.max) {
|
|
22387
|
+
return;
|
|
22388
|
+
}
|
|
22382
22389
|
this._internalReset();
|
|
22383
22390
|
this.updateValue(null);
|
|
22384
22391
|
});
|