MNT-23263 Changes done for missing properties between two categories. (#1654)

This commit is contained in:
atkumar14
2023-01-04 20:43:46 +05:30
committed by GitHub
parent ea2451f6f2
commit 5fb6130513

View File

@@ -425,7 +425,8 @@ public class RecordsManagementSearchBehaviour implements RecordsManagementModel,
@Override
public Void doWork()
{
if (nodeService.exists(nodeRef) && nodeService.hasAspect(nodeRef, ASPECT_RECORD))
if (nodeService.exists(nodeRef) && (nodeService.hasAspect(nodeRef, ASPECT_RECORD) ||
nodeService.getType(nodeRef).equals(TYPE_RECORD_FOLDER)))
{
applySearchAspect(nodeRef);
setupDispositionScheduleProperties(nodeRef);