Fixed typos in query

Former-commit-id: 725b8abc55
pull/10/head
Jens Pelzetter 2021-01-26 07:42:16 +01:00
parent e999ac290b
commit 008f57ca16
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ import static org.librecms.CmsConstants.*;
+ " ON categories.object_id = folders.object_id "
+ "WHERE categories.parent_category_id = :folderId "
+ "AND folders.type = 'DOCUMENTS_FOLDER'"
+ ") "
+ ") AS entries_count",
resultSetMapping = "Folder.countDocumentFolderEntries"
),