From 920764211064521930441b96ed914034302a7470 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 5 Jan 2025 20:51:24 +0100 Subject: feat: offer to show all results on one page (if < 10000) Implements: https://todo.sr.ht/~alanpearce/searchix/5 --- internal/config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/config/config.go') diff --git a/internal/config/config.go b/internal/config/config.go index 33ce1da..b2af53c 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -14,6 +14,8 @@ import ( var Version string var DevMode bool +const MaxResultsShowAll = 10_000 + type URL struct { *url.URL } -- cgit 1.4.1