Any report with a handler and no conclusion is an active report,
therefore we don't need to check if the report is active
This commit is contained in:
parent
c462282632
commit
afee339e16
@ -553,7 +553,7 @@ public class ReportManager
|
||||
reportIds.stream().map(_reportRepository::getReport).collect(Collectors.toList())
|
||||
).thenCompose(UtilFuture::sequence)
|
||||
.thenApply(UtilCollections::unboxPresent)
|
||||
.thenCompose(reports -> UtilFuture.filter(reports, this::isActiveReport)).thenApply(reports ->
|
||||
.thenApply(reports ->
|
||||
{
|
||||
Report report = null;
|
||||
int size = reports.size();
|
||||
|
Loading…
Reference in New Issue
Block a user