From 85502131466bdbd8a3367639edc58171403e1c50 Mon Sep 17 00:00:00 2001 From: Ben0it-T Date: Mon, 25 Oct 2021 20:05:07 +0200 Subject: [PATCH] Fix : Filter List by Card Title - see #4066 comments --- client/lib/filter.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/lib/filter.js b/client/lib/filter.js index d4ca63f7c..8a7eafe32 100644 --- a/client/lib/filter.js +++ b/client/lib/filter.js @@ -647,7 +647,7 @@ Filter = { title: new StringFilter(), customFields: new SetFilter('_id'), advanced: new AdvancedFilter(), - lists: new AdvancedFilter(), + lists: new AdvancedFilter(), // we need the ability to filter list by name as well _fields: [ 'labelIds', @@ -671,7 +671,8 @@ Filter = { _.any(this._fields, fieldName => { return this[fieldName]._isActive(); }) || - this.advanced._isActive() + this.advanced._isActive() || + this.lists._isActive() ); }, @@ -736,6 +737,7 @@ Filter = { const filter = this[fieldName]; filter.reset(); }); + this.lists.reset(); this.advanced.reset(); this.resetExceptions(); },