瀏覽代碼

Regions sorted
Fixed #72

Andrew Grant 5 月之前
父節點
當前提交
0d30f4ee40

+ 2 - 1
src/main/java/scot/carricksoftware/grants/services/places/regions/RegionServiceImpl.java

@@ -74,7 +74,8 @@ public class RegionServiceImpl implements RegionService {
     }
 
     private Sort getSort() {
-        return Sort.by(Sort.Direction.ASC, "name");
+        return Sort.by(Sort.Direction.DESC, "country.name")
+                .and(Sort.by(Sort.Direction.ASC, "name"));
     }
 
     @Override