diff --git a/client/web/compose/src/components/Common/RecordListFilter.vue b/client/web/compose/src/components/Common/RecordListFilter.vue index c646dacdb..7c711665f 100644 --- a/client/web/compose/src/components/Common/RecordListFilter.vue +++ b/client/web/compose/src/components/Common/RecordListFilter.vue @@ -32,7 +32,7 @@ class="position-static w-100" > - - - - + + + @@ -144,11 +160,16 @@ export default { }, methods: { - toggleFilterView () { - if (!this.textInput) { - this.options.prefilter = this.parseFilter() || this.options.prefilter + saveFilter (filter) { + if (filter && filter[0] && !filter[0].filter[0].name) { + return } + this.options.prefilter = this.parseFilter() + this.toggleFilterInputType() + }, + + toggleFilterInputType () { this.textInput = !this.textInput },