summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-05 11:15:33 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-05 11:15:33 -0800
commit3f07c202373d4d31d74c5430fd83bbac6d07fdde (patch)
treeee8d8fb8fdf3f5b89467c2e7c9e7a7bdae774f25 /system/admin/handlers.go
parentb0398c7db06fa63d54d805b7e8858db5332b4ce1 (diff)
switch count and total in reassignment
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index c505914..765ea6f 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -971,7 +971,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
start := 1 + count*offset
end := start + count - 1
if total < count {
- total = count
+ count = total
}
pagination := fmt.Sprintf(`