mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix : Filter List by Card Title - see #4066 comments
This commit is contained in:
parent
a09b7a4002
commit
8550213146
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue