make it 40 honks per collection

This commit is contained in:
Ted Unangst 2019-11-06 21:51:38 -05:00
parent 778a3b1d79
commit 0829485900
1 changed files with 2 additions and 2 deletions

4
web.go
View File

@ -779,8 +779,8 @@ func showontology(w http.ResponseWriter, r *http.Request) {
}
honks := gethonksbyontology(userid, "#"+name, 0)
if friendorfoe(r.Header.Get("Accept")) {
if len(honks) > 20 {
honks = honks[0:20]
if len(honks) > 40 {
honks = honks[0:40]
}
var xids []string