FINERACT-2488: Fix duplicate results in /api/v2/clients/search (#5485)
This commit is contained in:
+1
@@ -67,6 +67,7 @@ public class SearchingClientRepositoryImpl implements SearchingClientRepository
|
||||
Path<Office> office = root.get("office");
|
||||
|
||||
Specification<Client> spec = (r, q, builder) -> {
|
||||
q.distinct(true);
|
||||
Path<Office> o = r.get("office");
|
||||
Join<Client, ClientIdentifier> identity = r.join("identifiers", JoinType.LEFT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user