mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 23:58:49 +01:00
Add template search in Add Card menu
Archive all cards in list when list is archived Remove default board in link popup Only list non-template boards in card link and search
This commit is contained in:
parent
1e72177991
commit
7a6afb8aea
5 changed files with 57 additions and 31 deletions
|
|
@ -470,6 +470,10 @@ Boards.helpers({
|
|||
if (excludeLinked) {
|
||||
query.linkedId = null;
|
||||
}
|
||||
if (this.isTemplatesBoard()) {
|
||||
query.type = 'template-card';
|
||||
query.archived = false;
|
||||
}
|
||||
const projection = { limit: 10, sort: { createdAt: -1 } };
|
||||
|
||||
if (term) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue