Properly generated Fishery and Stock group
This commit is contained in:
parent
503a66596b
commit
0458379cb4
|
@ -513,7 +513,8 @@ public class CommonServiceUtils {
|
|||
logger.debug("Domain is " + productType.getOrigName() + " and system type " + record.getSystemType());
|
||||
|
||||
// evaluate the custom fields/tags, resources and groups
|
||||
groups.add(sourceInPath.getOrigName().toLowerCase() + "-" + productType.getOrigName().toLowerCase()); //e.g. grsf-fishery
|
||||
groups.add(productType.getOrigName().toLowerCase()); //i.e. stock or fishery
|
||||
|
||||
boolean skipTags = !sourceInPath.equals(Sources.GRSF); // no tags for the Original records
|
||||
CommonServiceUtils.getTagsGroupsResourcesExtrasByRecord(tags, skipTags, groups, false, resources, false,
|
||||
customFields, record, username, sourceInPath);
|
||||
|
|
Loading…
Reference in New Issue