summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 96530fd..9414fba 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -633,10 +633,10 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
}
q.Set("status", "public")
- publicURL := req.URL.Path + q.Encode()
+ publicURL := req.URL.Path + "?" + q.Encode()
q.Set("status", "pending")
- pendingURL := req.URL.Path + q.Encode()
+ pendingURL := req.URL.Path + "?" + q.Encode()
switch status {
case "public", "":