Return file count on GET /document/list

This commit is contained in:
jendib
2013-08-22 17:59:24 +02:00
parent 62a5840777
commit 870a44da0d
6 changed files with 26 additions and 3 deletions
@@ -171,6 +171,7 @@ public class DocumentResource extends BaseResource {
document.put("create_date", documentDto.getCreateTimestamp());
document.put("shared", documentDto.getShared());
document.put("language", documentDto.getLanguage());
document.put("file_count", documentDto.getFileCount());
// Get tags
List<TagDto> tagDtoList = tagDao.getByDocumentId(documentDto.getId());