summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-29 14:38:39 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-29 14:38:39 -0700
commit0be1959e0e19bf77c24ddd49e0ad9ccea0e3b31a (patch)
tree4024e77a72315bfd0e6d486ac10118b3f8e13b9c
parent4730ba0b7f465dc001327ba560c058c90812c3c6 (diff)
adding defauld status to form map
-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", "":