From c01f4d6ddf6ab8634823686af380d4c91e53db69 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 22 Jan 2023 23:36:12 +0000 Subject: file-document: Set document type of to document. Earlier, the document type returned was "file-document". It only seemed to work because xapian split them into two terms—"file" and "document". * tissue/file-document.scm (document-type): Return "document". --- tissue/file-document.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tissue') diff --git a/tissue/file-document.scm b/tissue/file-document.scm index 7673964..c29859f 100644 --- a/tissue/file-document.scm +++ b/tissue/file-document.scm @@ -1,5 +1,5 @@ ;;; tissue --- Text based issue tracker -;;; Copyright © 2022 Arun Isaac +;;; Copyright © 2022, 2023 Arun Isaac ;;; ;;; This file is part of tissue. ;;; @@ -58,7 +58,7 @@ (compose doc:commit-author-date last file-document-commits)) (define-method (document-type (document )) - (next-method)) + "document") (define-method (document-id-term (document )) "Return the ID term for DOCUMENT." -- cgit v1.2.3