Skip to content
Snippets Groups Projects
Commit e20ea256 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix Search Attribute Bug

Fix Search Attribute Bug
parent dfbbdd24
No related branches found
No related tags found
No related merge requests found
......@@ -471,7 +471,7 @@ public class ProgramaController {
if(!uiModel.asMap().containsKey("Itinerante")){
uiModel.addAttribute("Itinerante", false);
}
if(uiModel.asMap().get("Itinerante") == "true"){
if((Boolean)uiModel.asMap().get("Itinerante")){
uiModel.addAttribute("Itinerante", false);
}
......@@ -480,7 +480,7 @@ public class ProgramaController {
uiModel.addAttribute("create", false);
}
if(uiModel.asMap().get("create") == "true"){
if((Boolean)uiModel.asMap().get("create")){
programa = new Programa();
uiModel.addAttribute("programa", new Programa());
uiModel.addAttribute("create", false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment