diff --git a/server/datacatalog/datacatalogv3/conv_dataset_generic.go b/server/datacatalog/datacatalogv3/conv_dataset_generic.go index ae760592b..0385d10a8 100644 --- a/server/datacatalog/datacatalogv3/conv_dataset_generic.go +++ b/server/datacatalog/datacatalogv3/conv_dataset_generic.go @@ -50,7 +50,7 @@ func (i *GenericItem) toDatasets(area *areaContext, dts []plateauapi.DatasetType }) var groups []string - if i.Group == "" { + if i.Group != "" { groups = strings.Split(i.Group, "/") }