mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
[APPS-3154] fix for number of file field in response (#3108)
* [fix/APPS-3154] Rectifying number of Files field in response. * [fix/APPS-3154] Rectifying number of Files field in response. * [fix/APPS-3154] Rectifying number of Files field in response. * [fix/APPS-3154-fixForNumberOfFileFieldInResponse] fix for NumberOfFiles field in response * [fix/APPS-3154-fixForNumberOfFileFieldInResponse] Updating numberOfFiles field in response --------- Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
This commit is contained in:
@@ -191,9 +191,8 @@ public class NodeSizeDetailsServiceImpl implements NodeSizeDetailsService, Initi
|
|||||||
}
|
}
|
||||||
Date calculationDate = new Date(System.currentTimeMillis());
|
Date calculationDate = new Date(System.currentTimeMillis());
|
||||||
NodeSizeDetails nodeSizeDetails = new NodeSizeDetails(nodeRef.getId(), totalSizeFromFacet, calculationDate,
|
NodeSizeDetails nodeSizeDetails = new NodeSizeDetails(nodeRef.getId(), totalSizeFromFacet, calculationDate,
|
||||||
results.getNodeRefs()
|
(int) results.getNumberFound(), STATUS.COMPLETED,
|
||||||
.size(),
|
jobId);
|
||||||
STATUS.COMPLETED, jobId);
|
|
||||||
return nodeSizeDetails;
|
return nodeSizeDetails;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@@ -396,5 +395,4 @@ public class NodeSizeDetailsServiceImpl implements NodeSizeDetailsService, Initi
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user