From 2741ad828111a0bd13e6e970f4d414ceae7ec0fb Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 29 Jun 2022 15:29:06 +0530 Subject: search: Return all results by default. * tissue/search.scm (search-fold, search-map): Set default value of #:maximum-items argument to all documents. * bin/tissue (tissue-search): Do not pass #:maximum-items to search-map. --- bin/tissue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/tissue b/bin/tissue index ffe8a34..247a45f 100755 --- a/bin/tissue +++ b/bin/tissue @@ -88,10 +88,7 @@ Search issues using SEARCH-QUERY. (lambda (db) (call-with-output-pipe (lambda (port) - (search-map (cut print <> <> port) - db - (string-join args) - #:maximum-items (database-document-count db))) + (search-map (cut print <> <> port) db (string-join args))) (or (getenv "PAGER") "less") "--raw")))))) -- cgit v1.2.3