summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/dscuss-web/controller/handle_thread.go2
-rw-r--r--cmd/dscuss-web/view/thread.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dscuss-web/controller/handle_thread.go b/cmd/dscuss-web/controller/handle_thread.go
index bc8b2c9..199c346 100644
--- a/cmd/dscuss-web/controller/handle_thread.go
+++ b/cmd/dscuss-web/controller/handle_thread.go
@@ -76,7 +76,7 @@ func handleThread(w http.ResponseWriter, r *http.Request, l *dscuss.LoginHandle,
view.Render(w, "thread.html", map[string]interface{}{
"Common": cd,
"IsFound": isFound,
- "ID": t.ID,
+ "ID": idStr,
"Subject": t.Subject,
"Text": t.Text,
"DateWritten": t.DateWritten,
diff --git a/cmd/dscuss-web/view/thread.go b/cmd/dscuss-web/view/thread.go
index 98dab79..a581290 100644
--- a/cmd/dscuss-web/view/thread.go
+++ b/cmd/dscuss-web/view/thread.go
@@ -43,7 +43,7 @@ const threadHTML = `
{{ else }}
<div class="row">
<div class="alert">Requested thread was not found.</div>
- <a href="/oper/list?id={{ .ID }}">View operations</a> on this thread.
+ <a href="/oper/list?type=msg&id={{ .ID }}">View operations</a> on this thread.
</div>
{{ end }}