summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d9f6ce6..e91c5db 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -964,7 +964,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
nextStatus = statusDisabled
}
- urlFmt := req.URL.Path + "/admin/posts?count=%d&offset=%d&status=%s&type=%s"
+ urlFmt := req.URL.Path + "?count=%d&offset=%d&status=%s&type=%s"
prevURL := fmt.Sprintf(urlFmt, count, offset-1, status, t)
nextURL := fmt.Sprintf(urlFmt, count, offset+1, status, t)
start := 1 + count*offset