mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Move every CustomFields.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory server/)
This commit is contained in:
parent
6646b8638e
commit
7ef8de50bd
3 changed files with 4 additions and 3 deletions
|
|
@ -789,7 +789,7 @@ function findCards(sessionId, query) {
|
|||
true,
|
||||
),
|
||||
ReactiveCache.getLists({ _id: { $in: lists } }, { fields }, true),
|
||||
CustomFields.find({ _id: { $in: customFieldIds } }),
|
||||
ReactiveCache.getCustomFields({ _id: { $in: customFieldIds } }, {}, true),
|
||||
ReactiveCache.getUsers({ _id: { $in: users } }, { fields: Users.safeFields }, true),
|
||||
Checklists.find({ cardId: { $in: cards.map(c => c._id) } }),
|
||||
ChecklistItems.find({ cardId: { $in: cards.map(c => c._id) } }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue