Various fixes to data access

This commit is contained in:
Torkel Ödegaard
2015-01-20 15:23:14 +01:00
parent 0a695ba17a
commit 4ea5d80099
8 changed files with 27 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ func Search(c *middleware.Context) {
}
if strings.HasPrefix(queryText, "tags!:") {
query := m.GetDashboardTagsQuery{}
query := m.GetDashboardTagsQuery{AccountId: c.AccountId}
err := bus.Dispatch(&query)
if err != nil {
c.JsonApiErr(500, "Failed to get tags from database", err)