Skip to content

Commit

Permalink
Merge #2069 from branch '2065-suggestOrder' of github.com:hbz/lobid-r…
Browse files Browse the repository at this point in the history
…esources
  • Loading branch information
dr0i committed Sep 5, 2024
2 parents 90b9925 + c079c0a commit 63b9d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/controllers/resources/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private static JsonNode toSuggestions(JsonNode json, String field) {
: typeText));
});
});
return Json.toJson(suggestions.collect(Collectors.toSet()));
return Json.toJson(suggestions.collect(Collectors.toList()));
}

private static Stream<JsonNode> fieldValues(String field, JsonNode document) {
Expand Down

0 comments on commit 63b9d31

Please sign in to comment.