Commit 94d8ee7c authored by Matija Obreza's avatar Matija Obreza

Update GeoRegions bug fixed

parent ce6322f7
...@@ -38,7 +38,6 @@ import org.genesys2.server.service.GeoRegionService; ...@@ -38,7 +38,6 @@ import org.genesys2.server.service.GeoRegionService;
import org.genesys2.server.service.GeoService; import org.genesys2.server.service.GeoService;
import org.genesys2.server.service.InstituteService; import org.genesys2.server.service.InstituteService;
import org.genesys2.server.service.impl.ContentSanitizer; import org.genesys2.server.service.impl.ContentSanitizer;
import org.genesys2.server.service.impl.FilterHandler.AppliedFilters;
import org.genesys2.server.service.worker.ElasticUpdater; import org.genesys2.server.service.worker.ElasticUpdater;
import org.genesys2.server.service.worker.ITPGRFAStatusUpdater; import org.genesys2.server.service.worker.ITPGRFAStatusUpdater;
import org.genesys2.server.service.worker.InstituteUpdater; import org.genesys2.server.service.worker.InstituteUpdater;
...@@ -51,7 +50,6 @@ import org.springframework.stereotype.Controller; ...@@ -51,7 +50,6 @@ import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
<form method="post" action="<c:url value="/admin/admin-action" />"> <form method="post" action="<c:url value="/admin/admin-action" />">
<input type="submit" class="btn btn-default" name="accenumbnumb" value="ACCENUMB-NUMB" /> <input type="submit" class="btn btn-default" name="accenumbnumb" value="ACCENUMB-NUMB" />
<input type="submit" class="btn btn-default" name="georegion" value="GeoRegion" />
<!-- CSRF protection --> <!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
</form> </form>
...@@ -35,8 +34,8 @@ ...@@ -35,8 +34,8 @@
<!-- CSRF protection --> <!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
</form> </form>
<form method="post" action="<c:url value="/admin/georegion" />"> <form method="post" action="<c:url value="/admin/admin-action" />">
<input type="submit" class="btn btn-default" value="Refresh geo Regions" /> <input type="submit" class="btn btn-default" name="georegion" value="Refresh geo Regions" />
<!-- CSRF protection --> <!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
</form> </form>
......
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