Skip to content

Commit

Permalink
fix(rest): Job execution filter by start date now works fine
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeLuise authored and Coduz committed Mar 7, 2024
1 parent a518a0c commit e457efe
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -127,7 +127,11 @@ public JobExecutionListResult query(
@PathParam("jobId") EntityId jobId,
JobExecutionQuery query) throws KapuaException {
query.setScopeId(scopeId);
query.setPredicate(query.attributePredicate(JobExecutionAttributes.JOB_ID, jobId));
final AndPredicate andPredicate = query.andPredicate(
query.attributePredicate(JobExecutionAttributes.JOB_ID, jobId),
query.getPredicate()
);
query.setPredicate(andPredicate);
return jobExecutionService.query(query);
}

Expand Down

0 comments on commit e457efe

Please sign in to comment.