diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-18 15:46:46 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-18 15:46:46 -0700 |
commit | 3b4b6b7f0c31fc358ca03b64c7a8c5181b978e94 (patch) | |
tree | 2a432fe172ada3902e8b1b702f4c37f34bdb4a09 /system/admin/handlers.go | |
parent | a8b1411ea2fcb7bf471b18d01bc38cab53b403ac (diff) |
adding ASC/DESC toggle for post order display
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 5ac1df2..deba2e5 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -340,7 +340,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { var s = sort.val(); var t = getParam("type"); - window.location.replace(path + "&type=" + t + "&order=" + s) + window.location.replace(path + "?type=" + t + "&order=" + s) }); var order = getParam("order"); |