From 88a8e1cd556bfb7ed35410c2c02c407812d7d584 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 8 Dec 2023 15:23:55 +0100 Subject: feat: add @rawText internal tag This facilitates full-text search via: ``` anissue list --filter '@rawText /any.*text/' ``` --- app/Issue.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Issue.hs') 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, -- cgit v1.2.3