Skip to content

Commit

Permalink
LPD-42641 Plural
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Dec 10, 2024
1 parent 93b3d69 commit 2ce39d2
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,15 @@ public List<Object> getFoldersAndArticles(
@Override
public List<Object> 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<>(
status, userId, true, start, end,
(OrderByComparator<Object>)orderByComparator);

return journalFolderFinder.filterFindF_A_ByG_F_DDMSI_L_NotS(
groupId, folderId, ddmStructureId, locale, excludedStatus,
groupId, folderId, ddmStructureId, locale, excludedStatuses,
queryDefinition);
}

Expand Down Expand Up @@ -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<Object> 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
Expand Down

0 comments on commit 2ce39d2

Please sign in to comment.