]> jaekl.net Git - quanweb.git/commitdiff
Update field list to include `list` field.
authorChris Jaekl <chris@localhost>
Wed, 11 Nov 2020 05:06:11 +0000 (00:06 -0500)
committerChris Jaekl <chris@localhost>
Wed, 11 Nov 2020 05:06:11 +0000 (00:06 -0500)
main/handler.go

index d0771fa61d303e5a6bcb8b748c5b277ab2146b73..18366b93dd36d7ac49b2899382572c6e1f3cacdf 100644 (file)
@@ -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()