From dd806fbac9a933ccb28abc5fd7e78e7673d4e714 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 4 Jan 2017 11:45:50 -0800 Subject: testing fix for order mismatch in admin --- system/admin/handlers.go | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3