Skip to content

Commit 43855ce

Browse files
authored
Fix: Set state of duplicated task to nothing
This creates an open duplicate and prevents the previous issue where the state was set to `Done` but the close trigger would not react and set a closed date.
1 parent eb33ae2 commit 43855ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasklite-core/source/Lib.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,7 @@ duplicateTasks conf connection ids = do
13651365
, Task.awake_utc = val_ Nothing
13661366
, Task.closed_utc = val_ Nothing
13671367
, Task.modified_utc = val_ modified_utc
1368+
, Task.state = val_ Nothing
13681369
}
13691370

13701371
-- Duplicate tags

0 commit comments

Comments
 (0)