Commit 144bad87 by Sofía Benitez

Primeros cambios para feriados

parent d7680870
......@@ -54,7 +54,7 @@ public class FeriadoController {
model.addAttribute("pages", feriadoPag.getTotalPages());
}
else {
Page<Feriado> feriadoPag=feriadoRepository.findByMotivoFeriadoContainingIgnoreCase(nombre.trim(),page);
Page<Feriado> feriadoPag=feriadoRepository.findByMotivoFeriadoContainingIgnoreCase(feriado.trim(),page);
model.addAttribute("pages", feriadoPag.getTotalPages());
model.addAttribute("feriados", feriadoPag.getContent());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment