Browse Source

Fix url gen to use id

master
NGnius (Graham) 3 years ago
parent
commit
bf31299f94
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sql_structs.go

+ 1
- 1
sql_structs.go View File

@@ -96,7 +96,7 @@ func (b *Board) SomeEntries(start, end int64) ([]*Entry, error) {
}

func (b *Board) Url() string {
return "/board?id=" + b.Name
return "/board?id=" + strconv.Itoa(int(b.ID))
}

// implementation of Jsonable