From: Chris Jaekl Date: Wed, 11 Nov 2020 05:06:11 +0000 (-0500) Subject: Update field list to include `list` field. X-Git-Url: https://jaekl.net/gitweb/?a=commitdiff_plain;h=7fe46f308b7c3d656804fa563a2a6c4c5874a783;p=quanweb.git Update field list to include `list` field. --- 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()