summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-30 22:51:51 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-30 22:51:51 -0700
commitf787a4787cd7aed1b8556874967ce407e255c57e (patch)
treea58012361f58010938f5bb8337af848ed76a06b3 /system/admin/handlers.go
parent3f5fefd80ace18f95ec80001cf71af5d2f426c15 (diff)
identified another bug related to _ specifier in UI code
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index dbeefd2..d6c3baa 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -787,7 +787,7 @@ func adminPostListItem(p editor.Editable, t, status string) []byte {
post := `
<li class="col s12">
- <a href="/admin/edit?type=` + t + `&status=` + status + `&id=` + cid + `">` + p.ContentName() + `</a>
+ <a href="/admin/edit?type=` + t + `&status=` + strings.TrimPrefix(status, "_") + `&id=` + cid + `">` + p.ContentName() + `</a>
<span class="post-detail">Updated: ` + updatedTime + `</span>
<span class="publish-date right">` + publishTime + `</span>