summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-04 11:45:50 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-04 11:45:50 -0800
commitdd806fbac9a933ccb28abc5fd7e78e7673d4e714 (patch)
tree1f8988bb3c01b39191ee258de4db3b2b03ed67b2
parent2238d79b896619872939a2f5b5d53ad862bc705a (diff)
testing fix for order mismatch in admin
-rw-r--r--system/admin/handlers.go2
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)