mirror of
https://github.com/wekan/wekan.git
synced 2026-02-01 14:11:48 +01:00
Add an avatar for the card creator
* Add avatar to minicard * Add field to card details * Add show option in Board / Card Settings
This commit is contained in:
parent
926f39c96b
commit
5cc6a2f7d0
14 changed files with 87 additions and 9 deletions
|
|
@ -488,6 +488,7 @@ function buildProjection(query) {
|
|||
modifiedAt: 1,
|
||||
labelIds: 1,
|
||||
customFields: 1,
|
||||
userId: 1,
|
||||
},
|
||||
sort: {
|
||||
boardId: 1,
|
||||
|
|
@ -658,6 +659,9 @@ function findCards(sessionId, query) {
|
|||
if (card.boardId) boards.push(card.boardId);
|
||||
if (card.swimlaneId) swimlanes.push(card.swimlaneId);
|
||||
if (card.listId) lists.push(card.listId);
|
||||
if (card.userId) {
|
||||
users.push(card.userId);
|
||||
}
|
||||
if (card.members) {
|
||||
card.members.forEach(userId => {
|
||||
users.push(userId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue