mirror of
https://github.com/wekan/wekan.git
synced 2025-12-30 06:08:48 +01:00
Add Feature: allowing user to filter list in Filter function not just cards
This commit is contained in:
parent
bc2a20f04e
commit
d2d4840758
2 changed files with 218 additions and 227 deletions
|
|
@ -465,14 +465,7 @@ Filter = {
|
|||
advanced: new AdvancedFilter(),
|
||||
lists: new AdvancedFilter(), // we need the ability to filter list by name as well
|
||||
|
||||
_fields: [
|
||||
'labelIds',
|
||||
'members',
|
||||
'archive',
|
||||
'hideEmpty',
|
||||
'customFields',
|
||||
'lists',
|
||||
],
|
||||
_fields: ['labelIds', 'members', 'archive', 'hideEmpty', 'customFields'],
|
||||
|
||||
// We don't filter cards that have been added after the last filter change. To
|
||||
// implement this we keep the id of these cards in this `_exceptions` fields
|
||||
|
|
@ -549,6 +542,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