working on dashboard search

This commit is contained in:
Torkel Ödegaard
2017-11-20 12:47:03 +01:00
parent 0fe4229023
commit fc1d8416a7
9 changed files with 58 additions and 58 deletions

View File

@@ -18,7 +18,7 @@ func searchHandler(query *Query) error {
IsStarred: query.IsStarred,
DashboardIds: query.DashboardIds,
Type: query.Type,
FolderId: query.FolderId,
FolderIds: query.FolderIds,
Tags: query.Tags,
Limit: query.Limit,
}

View File

@@ -48,22 +48,21 @@ type Query struct {
IsStarred bool
Type string
DashboardIds []int64
FolderId int64
FolderIds []int64
Result HitList
}
type FindPersistedDashboardsQuery struct {
Title string
OrgId int64
SignedInUser *models.SignedInUser
IsStarred bool
DashboardIds []int64
Type string
FolderId int64
Tags []string
ExpandedFolders []int64
Limit int
Title string
OrgId int64
SignedInUser *models.SignedInUser
IsStarred bool
DashboardIds []int64
Type string
FolderIds []int64
Tags []string
Limit int
Result HitList
}