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 => {