Chore: Deprecate FolderID from DashboardSearchProjection (#77811)

This commit is contained in:
Kat Yang
2023-11-08 11:23:56 -05:00
committed by GitHub
parent 82daf05145
commit bc875b4c13
3 changed files with 9 additions and 6 deletions
@@ -1239,6 +1239,7 @@ func makeQueryResult(query *dashboards.FindPersistedDashboardsQuery, res []dashb
Tags: []string{},
}
// nolint:staticcheck
if item.FolderID > 0 {
hit.FolderURL = dashboards.GetFolderURL(item.FolderUID, item.FolderSlug)
}