mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove result field from search (#65583)
remove result field from search
This commit is contained in:
@@ -52,8 +52,9 @@ func (hs *HTTPServer) populateDashboardsByTag(ctx context.Context, orgID int64,
|
||||
OrgId: orgID,
|
||||
}
|
||||
|
||||
if err := hs.SearchService.SearchHandler(ctx, &searchQuery); err == nil {
|
||||
for _, item := range searchQuery.Result {
|
||||
hits, err := hs.SearchService.SearchHandler(ctx, &searchQuery)
|
||||
if err == nil {
|
||||
for _, item := range hits {
|
||||
result = append(result, dtos.PlaylistDashboard{
|
||||
Id: item.ID,
|
||||
Slug: item.Slug,
|
||||
|
||||
Reference in New Issue
Block a user