From 7fe46f308b7c3d656804fa563a2a6c4c5874a783 Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Wed, 11 Nov 2020 00:06:11 -0500 Subject: [PATCH] Update field list to include `list` field. --- main/handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/handler.go b/main/handler.go index d0771fa..18366b9 100644 --- a/main/handler.go +++ b/main/handler.go @@ -190,10 +190,10 @@ func handleInfo(w http.ResponseWriter, r *http.Request) { func handleSearch(w http.ResponseWriter, r *http.Request) { var err error - fields := []Field{Author, Language, Series, Title} + fields := []Field{Author, Language, List, Series, Title} terms := make([]SearchTerm, len(fields)) - + count := 0 for _, fv := range(fields) { paramName := fv.String() -- 2.39.2