projects
/
quanweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508fafb
)
Update field list to include `list` field.
author
Chris Jaekl
<chris@localhost>
Wed, 11 Nov 2020 05:06:11 +0000
(
00:06
-0500)
committer
Chris Jaekl
<chris@localhost>
Wed, 11 Nov 2020 05:06:11 +0000
(
00:06
-0500)
main/handler.go
patch
|
blob
|
history
diff --git
a/main/handler.go
b/main/handler.go
index d0771fa61d303e5a6bcb8b748c5b277ab2146b73..18366b93dd36d7ac49b2899382572c6e1f3cacdf 100644
(file)
--- 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()