more
This commit is contained in:
parent
8a72b29d45
commit
e6417b3bd7
@ -292,9 +292,7 @@ func (self *templateEngine) genUkkoPaginated(prefix, frontend string, wr io.Writ
|
||||
if page > 0 {
|
||||
obj["prev"] = map[string]interface{}{"no": page - 1}
|
||||
}
|
||||
if invertPagination {
|
||||
obj["next"] = map[string]interface{}{"no": page + 1}
|
||||
} else if page < 10 {
|
||||
if page < pages {
|
||||
obj["next"] = map[string]interface{}{"no": page + 1}
|
||||
}
|
||||
if json {
|
||||
|
Reference in New Issue
Block a user