mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
WIP: dashboard search by type (folder or dash)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user