about summary refs log tree commit diff stats
path: root/internal/components/data.go
diff options
context:
space:
mode:
authorAlan Pearce2024-07-12 20:52:52 +0200
committerAlan Pearce2024-07-12 21:20:15 +0200
commit6781684647ad7f131054a93e1d13105d865c0e83 (patch)
tree307a688125f18128f582f7754af9a5451f0cb109 /internal/components/data.go
parent442345898802e93b0b884fd0f1c3492e08c34049 (diff)
downloadsearchix-6781684647ad7f131054a93e1d13105d865c0e83.tar.lz
searchix-6781684647ad7f131054a93e1d13105d865c0e83.tar.zst
searchix-6781684647ad7f131054a93e1d13105d865c0e83.zip
feat: enable combined search
Diffstat (limited to 'internal/components/data.go')
-rw-r--r--internal/components/data.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/components/data.go b/internal/components/data.go
index 8f4fe62..601102d 100644
--- a/internal/components/data.go
+++ b/internal/components/data.go
@@ -11,9 +11,8 @@ import (
 
 type TemplateData struct {
 	Sources       []*config.Source
-	Source        config.Source
+	Source        *config.Source
 	Query         string
-	Results       bool
 	SourceResult  *bleve.SearchResult
 	ExtraHeadHTML string
 	Code          int