@@ -236,7 +236,7 @@ public class ModerationService {
|
||||
|
||||
Pageable pageable = PageRequest.of(page, size, Sort.by(Sort.Direction.fromString(sortDirection), sortBy));
|
||||
|
||||
return isAppeal ? fileEntityRepository.findByStatusInAndSortedWithAppeal(statuses, pageable):
|
||||
return isAppeal != null ? fileEntityRepository.findByStatusInAndSortedWithAppeal(statuses, pageable):
|
||||
fileEntityRepository.findByStatusInAndSorted(statuses, pageable);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user