Skip to content

Commit 07675c4

Browse files
committed
use new country-list util for site-settings
1 parent b37ad3f commit 07675c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/ecocean/api/SiteSettings.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
9090
CommonConfiguration.getIndexedPropertyValues("lifeStage", context));
9191
settings.put("livingStatus",
9292
CommonConfiguration.getIndexedPropertyValues("livingStatus", context));
93-
settings.put("country",
94-
CommonConfiguration.getIndexedPropertyValues("country", context));
93+
settings.put("country", Util.getCountries());
9594
settings.put("annotationViewpoint", Annotation.getAllValidViewpointsSorted());
9695
settings.put("patterningCode",
9796
CommonConfiguration.getIndexedPropertyValues("patterningCode", context));

0 commit comments

Comments
 (0)