From 2ce39d2192ee8a1ff127e419baed7ec60fccd164 Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Wed, 11 Dec 2024 04:44:45 +0800 Subject: [PATCH] LPD-42641 Plural --- .../journal/service/impl/JournalFolderServiceImpl.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/apps/journal/journal-service/src/main/java/com/liferay/journal/service/impl/JournalFolderServiceImpl.java b/modules/apps/journal/journal-service/src/main/java/com/liferay/journal/service/impl/JournalFolderServiceImpl.java index 51afe74eec4961..20ec8e570951a3 100644 --- a/modules/apps/journal/journal-service/src/main/java/com/liferay/journal/service/impl/JournalFolderServiceImpl.java +++ b/modules/apps/journal/journal-service/src/main/java/com/liferay/journal/service/impl/JournalFolderServiceImpl.java @@ -258,7 +258,7 @@ public List getFoldersAndArticles( @Override public List getFoldersAndArticles( long groupId, long userId, long folderId, long ddmStructureId, - int status, Locale locale, int[] excludedStatus, int start, int end, + int status, Locale locale, int[] excludedStatuses, int start, int end, OrderByComparator orderByComparator) { QueryDefinition queryDefinition = new QueryDefinition<>( @@ -266,7 +266,7 @@ public List getFoldersAndArticles( (OrderByComparator)orderByComparator); return journalFolderFinder.filterFindF_A_ByG_F_DDMSI_L_NotS( - groupId, folderId, ddmStructureId, locale, excludedStatus, + groupId, folderId, ddmStructureId, locale, excludedStatuses, queryDefinition); } @@ -336,13 +336,14 @@ public int getFoldersAndArticlesCount( @Override public int getFoldersAndArticlesCount( long groupId, long userId, long folderId, long ddmStructureId, - int[] excludedStatus, int status) { + int[] excludedStatuses, int status) { QueryDefinition queryDefinition = new QueryDefinition<>( status, userId, true); return journalFolderFinder.filterCountF_A_ByG_F_DDMSI_NotS( - groupId, folderId, ddmStructureId, excludedStatus, queryDefinition); + groupId, folderId, ddmStructureId, excludedStatuses, + queryDefinition); } @Override