Refactoring search to support more than just db dashboards

This commit is contained in:
Torkel Ödegaard
2015-05-13 10:45:53 +02:00
parent fb35f7210c
commit bb7d79e6d2
9 changed files with 61 additions and 58 deletions
+1
View File
@@ -176,6 +176,7 @@ func SearchDashboards(query *m.SearchDashboardsQuery) error {
Id: item.Id,
Title: item.Title,
Uri: "db/" + item.Slug,
Type: m.DashTypeDB,
Tags: []string{},
}
query.Result = append(query.Result, hit)