fix: membre research

This commit is contained in:
2024-03-10 21:51:12 +01:00
parent 7fd17f0223
commit f7c33044d7
5 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ public class MembreService {
public SimpleCombModel find(int licence, String np) throws Throwable {
return VertxContextSupport.subscribeAndAwait(() -> Panache.withTransaction(() ->
repository.find("licence = ?1 AND (lname LIKE ?2 OR fname LIKE ?2)",
repository.find("licence = ?1 AND (lname ILIKE ?2 OR fname ILIKE ?2)",
licence, np).firstResult().map(SimpleCombModel::fromModel)));
}