make it 40 honks per collection
This commit is contained in:
parent
778a3b1d79
commit
0829485900
4
web.go
4
web.go
|
@ -779,8 +779,8 @@ func showontology(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
honks := gethonksbyontology(userid, "#"+name, 0)
|
honks := gethonksbyontology(userid, "#"+name, 0)
|
||||||
if friendorfoe(r.Header.Get("Accept")) {
|
if friendorfoe(r.Header.Get("Accept")) {
|
||||||
if len(honks) > 20 {
|
if len(honks) > 40 {
|
||||||
honks = honks[0:20]
|
honks = honks[0:40]
|
||||||
}
|
}
|
||||||
|
|
||||||
var xids []string
|
var xids []string
|
||||||
|
|
Loading…
Reference in New Issue