diff --git a/src/main/java/org/kpmp/repositoryDataset/RepositoryDatasetDisplay.java b/src/main/java/org/kpmp/repositoryDataset/RepositoryDatasetDisplay.java index 1c037b7..bca8077 100644 --- a/src/main/java/org/kpmp/repositoryDataset/RepositoryDatasetDisplay.java +++ b/src/main/java/org/kpmp/repositoryDataset/RepositoryDatasetDisplay.java @@ -453,7 +453,7 @@ public void setFileNameSort(String fileNameSort) { @JsonProperty("platform_sort") public String getPlatformSort() { - return (platform == null) ? "aaaaa" : platform; + return (platform == null || platform.isEmpty()) ? "aaaaa" : platform.toUpperCase(); } private boolean shouldAdd(String value) {