Dashboard search by tag, and tag cloud now works, god dam I hate SQL

This commit is contained in:
Torkel Ödegaard
2015-01-07 12:37:24 +01:00
parent bcdbec61d7
commit 1ae52d2472
6 changed files with 126 additions and 40 deletions

View File

@@ -27,11 +27,17 @@ var (
UseSQLite3 bool
)
type DashboardTag struct {
Id int64
DashboardId int64
Term string
}
func init() {
tables = make([]interface{}, 0)
tables = append(tables, new(m.Account), new(m.Dashboard),
new(m.Collaborator), new(m.DataSource))
new(m.Collaborator), new(m.DataSource), new(DashboardTag))
}
func Init() {