diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-05 11:15:33 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-05 11:15:33 -0800 |
commit | 3f07c202373d4d31d74c5430fd83bbac6d07fdde (patch) | |
tree | ee8d8fb8fdf3f5b89467c2e7c9e7a7bdae774f25 | |
parent | b0398c7db06fa63d54d805b7e8858db5332b4ce1 (diff) |
switch count and total in reassignment
-rw-r--r-- | system/admin/handlers.go | 2 |
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(` |