From 28bc720bbcb60b83cdc9644de08b2f5ee70defd2 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 15 Jan 2024 16:19:21 +0200 Subject: [PATCH] rename --- client/src/views/global-stream.js | 2 +- client/src/views/record/search.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/views/global-stream.js b/client/src/views/global-stream.js index 68e4432126..4071dd589d 100644 --- a/client/src/views/global-stream.js +++ b/client/src/views/global-stream.js @@ -88,7 +88,7 @@ class GlobalStreamView extends View { collection: this.collection, searchManager: this.searchManager, isWide: true, - layoutName: 'filtersGlobal', + filtersLayoutName: 'filtersGlobal', }); return this.assignView('search', this.searchView, '.search-container'); diff --git a/client/src/views/record/search.js b/client/src/views/record/search.js index 4362505f1c..0e34c977a4 100644 --- a/client/src/views/record/search.js +++ b/client/src/views/record/search.js @@ -63,7 +63,7 @@ class SearchView extends View { /** @type {{string: module:search-manager~advancedFilter}} */ advanced bool = null - layoutName = 'filters' + filtersLayoutName = 'filters' disableSavePreset = false textFilterDisabled = false @@ -106,7 +106,7 @@ class SearchView extends View { setup() { this.entityType = this.collection.entityType; this.scope = this.options.scope || this.entityType; - this.layoutName = this.options.layoutName || this.layoutName; + this.filtersLayoutName = this.options.filtersLayoutName || this.filtersLayoutName; /** @type {module:search-manager} */ this.searchManager = this.options.searchManager; @@ -175,7 +175,7 @@ class SearchView extends View { this.wait( new Promise(resolve => { - this.getHelper().layoutManager.get(this.entityType, this.layoutName, list => { + this.getHelper().layoutManager.get(this.entityType, this.filtersLayoutName, list => { this.fieldFilterList = []; (list || []).forEach(field => {