mirror of
https://github.com/grafana/grafana.git
synced 2025-09-20 05:02:31 +08:00
fix(unified-storage): Fix legacysearch returning mismatched cell/column count in response (#102044)
Fix legacysearch returning less cells than column count in search response
This commit is contained in:
@ -253,7 +253,7 @@ func (c *DashboardSearchClient) Search(ctx context.Context, req *resource.Resour
|
|||||||
Key: getResourceKey(&dashboards.DashboardSearchProjection{
|
Key: getResourceKey(&dashboards.DashboardSearchProjection{
|
||||||
UID: dashboard.UID,
|
UID: dashboard.UID,
|
||||||
}, req.Options.Key.Namespace),
|
}, req.Options.Key.Namespace),
|
||||||
Cells: [][]byte{[]byte(dashboard.Title), []byte(dashboard.FolderUID), {}, {}},
|
Cells: [][]byte{[]byte(dashboard.Title), []byte(dashboard.FolderUID), []byte(strconv.FormatInt(dashboard.ID, 10)), {}, {}},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user