diff options
-rw-r--r-- | system/admin/handlers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 630796a..e2309aa 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -536,6 +536,10 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { } order := strings.ToLower(q.Get("order")) + if order != "asc" { + order = "desc" + } + status := q.Get("status") if _, ok := content.Types[t]; !ok { |