diff options
-rw-r--r-- | system/admin/handlers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 1e16a51..aaaad23 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -923,7 +923,7 @@ func contentsHandler(res http.ResponseWriter, req *http.Request) { switch status { case "public", "": - fmt.Println(opts "\n\npublic") + fmt.Println(opts, "\n\npublic") // get __sorted posts of type t from the db total, posts = db.Query(t+specifier, opts) @@ -949,7 +949,7 @@ func contentsHandler(res http.ResponseWriter, req *http.Request) { } case "pending": - fmt.Println(opts "\n\npending") + fmt.Println(opts, "\n\npending") // get __pending posts of type t from the db total, posts = db.Query(t+"__pending", opts) @@ -976,6 +976,7 @@ func contentsHandler(res http.ResponseWriter, req *http.Request) { } } else { + fmt.Println(opts, "\n\nneither") total, posts = db.Query(t+specifier, opts) for i := range posts { |