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:
Will Assis
2025-03-12 17:00:22 -03:00
committed by GitHub
parent 4d9bcc6c44
commit edb331dc00

View File

@ -253,7 +253,7 @@ func (c *DashboardSearchClient) Search(ctx context.Context, req *resource.Resour
Key: getResourceKey(&dashboards.DashboardSearchProjection{
UID: dashboard.UID,
}, 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)), {}, {}},
})
}