summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-01-22 23:36:12 +0000
committerArun Isaac2023-01-23 00:28:12 +0000
commitc01f4d6ddf6ab8634823686af380d4c91e53db69 (patch)
tree395649197d5ffaafee3756acf2916f8107492ffe
parent63867ffc649e5c701a171a387f4aa97cf79f7788 (diff)
downloadtissue-c01f4d6ddf6ab8634823686af380d4c91e53db69.tar.gz
tissue-c01f4d6ddf6ab8634823686af380d4c91e53db69.tar.lz
tissue-c01f4d6ddf6ab8634823686af380d4c91e53db69.zip
file-document: Set document type of <file-document> 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".
-rw-r--r--tissue/file-document.scm4
1 files changed, 2 insertions, 2 deletions
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 <arunisaac@systemreboot.net>
+;;; Copyright © 2022, 2023 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of tissue.
;;;
@@ -58,7 +58,7 @@
(compose doc:commit-author-date last file-document-commits))
(define-method (document-type (document <file-document>))
- (next-method))
+ "document")
(define-method (document-id-term (document <file-document>))
"Return the ID term for DOCUMENT."