Search: Include managedBy in DashboardHit result (#111600)

This commit is contained in:
Ryan McKinley
2025-09-29 14:28:26 +03:00
committed by GitHub
parent 34b662c3e1
commit c4a2bb5540
12 changed files with 373 additions and 101 deletions
@@ -276,12 +276,8 @@ func (ss *FolderUnifiedStoreImpl) GetChildren(ctx context.Context, q folder.GetC
UID: item.Name,
Title: item.Title,
ParentUID: item.Folder,
ManagedBy: item.ManagedBy.Kind,
}
if item.Field.GetNestedString(resource.SEARCH_FIELD_MANAGER_KIND) != "" {
f.ManagedBy = utils.ParseManagerKindString(item.Field.GetNestedString(resource.SEARCH_FIELD_MANAGER_KIND))
}
hits = append(hits, f)
}