WIP: dashboard search by type (folder or dash)

This commit is contained in:
Daniel Lee
2017-05-24 18:28:13 +02:00
parent b4576edc90
commit 68b9342de3
4 changed files with 13 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ func searchHandler(query *Query) error {
IsStarred: query.IsStarred,
OrgId: query.OrgId,
DashboardIds: query.DashboardIds,
Type: query.Type,
}
if err := bus.Dispatch(&dashQuery); err != nil {

View File

@@ -46,6 +46,7 @@ type Query struct {
UserId int64
Limit int
IsStarred bool
Type string
DashboardIds []int
Result HitList
@@ -57,6 +58,7 @@ type FindPersistedDashboardsQuery struct {
UserId int64
IsStarred bool
DashboardIds []int
Type string
Result HitList
}