From 792f746cf1be5b80402402e25d5438d85488b0a7 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 9 Nov 2021 15:08:25 -0300 Subject: [PATCH] fix lista de postulantes, left join --- curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java | 6 +++--- curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java b/curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java index cb9ef21..fa18964 100644 --- a/curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java +++ b/curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java @@ -41,9 +41,9 @@ public interface PostulanteRepository extends JpaRepository { @Query(value = "select DISTINCT p " + - "from Postulante p join p.experiencias x " + - "join p.estudios e " + - "join p.tecnologias pt " + + "from Postulante p left join p.experiencias x " + + "left join p.estudios e " + + "left join p.tecnologias pt " + "where (?1 is null or lower(p.nombre) LIKE lower(?1) or lower(p.apellido) LIKE lower(?1) ) " + "and (p.disponibilidad = ?2 or ?2 is null) " + "and (p.nivelIngles >= ?3 or ?3 is null) "+ diff --git a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp index 1ebe5d2..09ceb9d 100644 --- a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp +++ b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp @@ -16,7 +16,7 @@


-
+



-- libgit2 0.26.0