Skip to content

Commit

Permalink
FIX attachemnts on view call detail.
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Aug 2, 2024
1 parent e7efde1 commit 7f43da1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Map<String, Object> addToModel(Map<String, String[]> paramz, HttpServletR
final Folder folder = call.get();
Criteria criteria = CriteriaFactory.createCriteria(JCONONDocumentType.JCONON_ATTACHMENT_CALL_ABSTRACT.queryName());
criteria.add(Restrictions.inFolder(folder.getId()));
ItemIterable<QueryResult> attachments = criteria.executeQuery(currentCMISSession, false, currentCMISSession.getDefaultContext());
ItemIterable<QueryResult> attachments = criteria.executeQuery(currentCMISSession, false, currentCMISSession.getDefaultContext()).getPage(Integer.MAX_VALUE);
final boolean macroCall = callService.isMacroCall(folder);
List<String> childs = Collections.emptyList();
if (macroCall) {
Expand Down

0 comments on commit 7f43da1

Please sign in to comment.