openchs-models 1.32.6 → 1.32.7
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.
|
@@ -180,7 +180,11 @@ class DashboardFilterConfig {
|
|
|
180
180
|
|
|
181
181
|
getInputDataType() {
|
|
182
182
|
if (this.isConceptTypeFilter()) {
|
|
183
|
-
|
|
183
|
+
if (this.isRangeWidget()) {
|
|
184
|
+
return _Range.default.DateRange;
|
|
185
|
+
} else {
|
|
186
|
+
return this.observationBasedFilter.concept.datatype;
|
|
187
|
+
}
|
|
184
188
|
} else if ([_CustomFilter.default.type.Gender, _CustomFilter.default.type.Address, _CustomFilter.default.type.GroupSubject].includes(this.type)) {
|
|
185
189
|
return DashboardFilterConfig.dataTypes.array;
|
|
186
190
|
} else if (dateFilterTypes.includes(this.type) && !this.isRangeWidget()) {
|