diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-10-17 09:29:31 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-10-17 09:29:31 +0200 |
commit | 0d7cb474e6eb9a8bb5b6c9b1adf09b3b29760ff1 (patch) | |
tree | be5608ddfac7cbe3fa00f9afa3b663aae19833df /app/Issue/Sort.hs | |
parent | 236316221dc1fe4152028d7720b68a437bb3ea52 (diff) |
allow empty-valued (bool) tags
Diffstat (limited to 'app/Issue/Sort.hs')
-rw-r--r-- | app/Issue/Sort.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Issue/Sort.hs b/app/Issue/Sort.hs index 1a0b3ff..2195244 100644 --- a/app/Issue/Sort.hs +++ b/app/Issue/Sort.hs @@ -63,6 +63,6 @@ applySortBy :: SortBy -> Issue -> [Text] applySortBy (SortByTag k) i = sort ( mapMaybe - (\(Tag k' v) -> if k' == k then Just v else Nothing) + (\(Tag k' v) -> if k' == k then v else Nothing) (i.tags ++ i.internalTags) ) |