diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-08 06:59:26 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-08 06:59:26 +0100 |
commit | 1a0c8e3444f94f6904e3b53e508e37fe5dbae64d (patch) | |
tree | b3698cfe513a8a691815f83c3ee9bc18b9a571d7 /app/History.hs | |
parent | 0d20548e3846cb80acca07fad2a1dc3cfe024528 (diff) |
fix: show deleted issues as closed in `log` command
Diffstat (limited to 'app/History.hs')
-rw-r--r-- | app/History.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/History.hs b/app/History.hs index d9f434d..72ca2d9 100644 --- a/app/History.hs +++ b/app/History.hs @@ -191,7 +191,7 @@ newIssueEvents oldIssues' commitHash issues' = | (newIssue : oldIssue : _) <- intersectBy' eq issues oldIssues, neq newIssue oldIssue ], - [IssueDeleted commitHash issue <$> patchDeleted issue | issue <- deleteFirstsBy eq oldIssues issues] + [IssueDeleted commitHash issue {I.closed = True} <$> patchDeleted issue | issue <- deleteFirstsBy eq oldIssues issues] ] where issues = filter (not . (.closed)) issues' |