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