diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-08 15:23:55 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-08 15:23:57 +0100 |
commit | 88a8e1cd556bfb7ed35410c2c02c407812d7d584 (patch) | |
tree | b8a773c4cb8b3fff06393f1e9c7864cb65ec685e /app/Issue.hs | |
parent | dee542dc02f83432f9532e3e25b7d3799614e848 (diff) |
feat: add @rawText internal tag
This facilitates full-text search via:
```
anissue list --filter '@rawText /any.*text/'
```
Diffstat (limited to 'app/Issue.hs')
-rw-r--r-- | app/Issue.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Issue.hs b/app/Issue.hs index 9ae3de8..4c5cc97 100644 --- a/app/Issue.hs +++ b/app/Issue.hs @@ -58,6 +58,7 @@ internalTags issue@(Issue {..}) = concat [ [ Tag "id" $ Just issue.id, Tag "title" $ Just title, + Tag "rawText" $ Just rawText, Tag "createdAt" $ Just $ T.pack $ show $ utctDay provenance.first.date, Tag "modifiedAt" $ Just $ T.pack $ show $ utctDay provenance.last.date, Tag "author" $ Just provenance.first.author.name, |