mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 07:08:49 +01:00
Per-User and Board-level data save fixes. Part 3.
Some checks are pending
Some checks are pending
Thanks to xet7 !
This commit is contained in:
parent
90a7a61904
commit
a039bb1066
12 changed files with 2996 additions and 82 deletions
|
|
@ -67,6 +67,27 @@ Meteor.publishRelations('boards', function() {
|
|||
true,
|
||||
)
|
||||
);
|
||||
|
||||
// Publish list order changes immediately
|
||||
// Include swimlaneId and modifiedAt for proper sync
|
||||
this.cursor(
|
||||
ReactiveCache.getLists(
|
||||
{ boardId, archived: false },
|
||||
{ fields:
|
||||
{
|
||||
_id: 1,
|
||||
title: 1,
|
||||
boardId: 1,
|
||||
swimlaneId: 1,
|
||||
archived: 1,
|
||||
sort: 1,
|
||||
modifiedAt: 1,
|
||||
_updatedAt: 1, // Hidden field to trigger updates
|
||||
}
|
||||
},
|
||||
true,
|
||||
)
|
||||
);
|
||||
this.cursor(
|
||||
ReactiveCache.getCards(
|
||||
{ boardId, archived: false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue