From a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 12 Jul 2024 21:10:47 +0200 Subject: fix: opensearch searches not using input query --- internal/server/mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server/mux.go') diff --git a/internal/server/mux.go b/internal/server/mux.go index 8c34599..e869e14 100644 --- a/internal/server/mux.go +++ b/internal/server/mux.go @@ -295,7 +295,7 @@ func NewMux( source.Importer.String(), source.Key, "search", - ).AddQuery("query", "{searchTerms}"), + ).AddRawQuery("query", "{searchTerms}"), }, } enc := xml.NewEncoder(w) -- cgit 1.4.1