status renamed to registryDesignation
This commit is contained in:
parent
2fa33e3470
commit
cebd7c2a8c
1 changed files with 2 additions and 2 deletions
|
|
@ -97,14 +97,14 @@ public class RegistryController extends AbstractQueueController {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (status != null && !status.isEmpty()) {
|
if (status != null && !status.isEmpty()) {
|
||||||
filter = predicateBuilder.and(filter, predicateBuilder.in("status", status));
|
filter = predicateBuilder.and(filter, predicateBuilder.in("registryStatus", status));
|
||||||
}
|
}
|
||||||
} else if (status == null || status.isEmpty()) {
|
} else if (status == null || status.isEmpty()) {
|
||||||
filter = predicateBuilder.in("registryDesignation", designations.toArray(String[]::new));
|
filter = predicateBuilder.in("registryDesignation", designations.toArray(String[]::new));
|
||||||
} else {
|
} else {
|
||||||
filter = predicateBuilder.and(
|
filter = predicateBuilder.and(
|
||||||
predicateBuilder.in("registryDesignation", designations.toArray(String[]::new)),
|
predicateBuilder.in("registryDesignation", designations.toArray(String[]::new)),
|
||||||
predicateBuilder.in("status", status)
|
predicateBuilder.in("registryStatus", status)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue