From cb426d2a581b2ef11d53c90e05569938b5ce7f00 Mon Sep 17 00:00:00 2001 From: Matthias Stein Date: Thu, 15 Sep 2022 17:48:54 +0200 Subject: [PATCH] Fix toc action filter if showSortSelectInUserMode is set to true --- src/main/js/bundles/dn_querybuilder/QueryBuilderWidgetModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/js/bundles/dn_querybuilder/QueryBuilderWidgetModel.js b/src/main/js/bundles/dn_querybuilder/QueryBuilderWidgetModel.js index 64b44ebc..07c42547 100644 --- a/src/main/js/bundles/dn_querybuilder/QueryBuilderWidgetModel.js +++ b/src/main/js/bundles/dn_querybuilder/QueryBuilderWidgetModel.js @@ -240,7 +240,7 @@ export default declare({ const opts = Object.assign({}, properties.defaultQueryOptions || {}, options || {}, { suggestContains: false }); - if (properties.showSortSelectInUserMode && !editable) { + if (properties.showSortSelectInUserMode && !editable && !layer) { sortOptions = this.getSortOptions(); opts.sort = sortOptions; }