Archived
1
0
This commit is contained in:
Jeff Becker 2018-03-09 10:28:15 -05:00
parent 8a72b29d45
commit e6417b3bd7
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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 {