|
|
|
@ -37,10 +37,11 @@ type Query struct { |
|
|
|
|
Type string |
|
|
|
|
DashboardUIDs []string |
|
|
|
|
DashboardIds []int64 |
|
|
|
|
FolderIds []int64 |
|
|
|
|
FolderUIDs []string |
|
|
|
|
Permission dashboards.PermissionType |
|
|
|
|
Sort string |
|
|
|
|
// Deprecated: use FolderUID instead
|
|
|
|
|
FolderIds []int64 |
|
|
|
|
FolderUIDs []string |
|
|
|
|
Permission dashboards.PermissionType |
|
|
|
|
Sort string |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Service interface { |
|
|
|
@ -83,7 +84,7 @@ func (s *SearchService) SearchHandler(ctx context.Context, query *Query) (model. |
|
|
|
|
DashboardUIDs: query.DashboardUIDs, |
|
|
|
|
DashboardIds: query.DashboardIds, |
|
|
|
|
Type: query.Type, |
|
|
|
|
FolderIds: query.FolderIds, |
|
|
|
|
FolderIds: query.FolderIds, // nolint:staticcheck
|
|
|
|
|
FolderUIDs: query.FolderUIDs, |
|
|
|
|
Tags: query.Tags, |
|
|
|
|
Limit: query.Limit, |
|
|
|
|