diff options
author | Alan Pearce | 2025-01-05 20:51:24 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-05 20:51:24 +0100 |
commit | 920764211064521930441b96ed914034302a7470 (patch) | |
tree | 17ec08690e47ecc7e3103de7fe1729874ca9527c /internal/config/config.go | |
parent | d289e54af28de6b21cbe49cebc262c4e3ca9f6d2 (diff) | |
download | searchix-920764211064521930441b96ed914034302a7470.tar.lz searchix-920764211064521930441b96ed914034302a7470.tar.zst searchix-920764211064521930441b96ed914034302a7470.zip |
feat: offer to show all results on one page (if < 10000)
Implements: https://todo.sr.ht/~alanpearce/searchix/5
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |