skip weird long tags
This commit is contained in:
parent
39ff5b5aa8
commit
e5d08de8fb
3
web.go
3
web.go
|
@ -679,6 +679,9 @@ func thelistingoftheontologies(w http.ResponseWriter, r *http.Request) {
|
||||||
log.Printf("error scanning ont: %s", err)
|
log.Printf("error scanning ont: %s", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if len(o.Name) > 24 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
o.Name = o.Name[1:]
|
o.Name = o.Name[1:]
|
||||||
onts = append(onts, o)
|
onts = append(onts, o)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue