diff --git a/src/main/js/bundles/dn_querybuilder/config/FieldWidget.js b/src/main/js/bundles/dn_querybuilder/config/FieldWidget.js index 3140d862..e3c144a3 100644 --- a/src/main/js/bundles/dn_querybuilder/config/FieldWidget.js +++ b/src/main/js/bundles/dn_querybuilder/config/FieldWidget.js @@ -52,7 +52,7 @@ export default declare([_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, _ apprt_when(this.store.getMetadata(), (metadata) => { const metadataSupportsDistinct = metadata.advancedQueryCapabilities?.supportsDistinct; const layerSupportsDistinct = this.store.layer?.capabilities?.query?.supportsDistinct; - this._supportsDistincts = metadataSupportsDistinct||layerSupportsDistinct; + this._supportsDistincts = metadataSupportsDistinct || layerSupportsDistinct; this._enableDistinctValues = this.queryBuilderProperties._properties.enableDistinctValues; if (this.type === "user") { this.notSelectDisabled = false;