From 3f07c202373d4d31d74c5430fd83bbac6d07fdde Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 5 Dec 2016 11:15:33 -0800 Subject: switch count and total in reassignment --- system/admin/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/admin') 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(` -- cgit v1.2.3