Commit cf68d9f1 authored by Matija Obreza's avatar Matija Obreza
Browse files

Friendlier JSON generated for redirect

parent cc4f9565
...@@ -313,7 +313,7 @@ public class WiewsController extends BaseController { ...@@ -313,7 +313,7 @@ public class WiewsController extends BaseController {
if (faoInstitute == null) { if (faoInstitute == null) {
throw new ResourceNotFoundException(); throw new ResourceNotFoundException();
} }
model.addAttribute("filter", "{\"" + FilterConstants.LAST_MODIFIED_DATE + "\":[\"" + dateVal + "\"], \"" + FilterConstants.INSTCODE + "\":[\"" + faoInstitute.getCode() model.addAttribute("filter", "{\"" + FilterConstants.LAST_MODIFIED_DATE + "\":[\"" + dateVal + "\"],\"" + FilterConstants.INSTCODE + "\":[\"" + faoInstitute.getCode()
+ "\"]}"); + "\"]}");
model.addAttribute("page", page); model.addAttribute("page", page);
return "redirect:/explore"; return "redirect:/explore";
......
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