mirror of
https://github.com/wekan/wekan.git
synced 2025-12-29 13:48:49 +01:00
Move every CustomFields.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
47c70f03a2
commit
981a641bce
6 changed files with 11 additions and 10 deletions
|
|
@ -45,7 +45,7 @@ class ExporterExcel {
|
|||
result.lists = ReactiveCache.getLists(byBoard, noBoardId);
|
||||
result.cards = ReactiveCache.getCards(byBoardNoLinked, noBoardId);
|
||||
result.swimlanes = ReactiveCache.getSwimlanes(byBoard, noBoardId);
|
||||
result.customFields = CustomFields.find(
|
||||
result.customFields = ReactiveCache.getCustomFields(
|
||||
{
|
||||
boardIds: {
|
||||
$in: [this.boardId],
|
||||
|
|
@ -56,7 +56,7 @@ class ExporterExcel {
|
|||
boardId: 0,
|
||||
},
|
||||
},
|
||||
).fetch();
|
||||
);
|
||||
result.comments = CardComments.find(byBoard, noBoardId).fetch();
|
||||
result.activities = Activities.find(byBoard, noBoardId).fetch();
|
||||
result.rules = Rules.find(byBoard, noBoardId).fetch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue