reducing tag suggestions to distinct values
Build Docker Image / Docker-Build (push) Successful in 1m21s
Build Docker Image / Clean-Registry (push) Successful in 4s

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-11-10 22:03:36 +01:00
parent b5957e498f
commit 4b9d458a97
@@ -185,7 +185,7 @@ public class TagModule extends BaseHandler implements TagService {
private boolean searchTags(HttpExchange ex, String key, UmbrellaUser user) throws IOException {
var tags = search(key, user);
var lKey = key.toLowerCase();
return sendContent(ex, tags.stream().map(entry -> modifyCase(entry, key, lKey)));
return sendContent(ex, tags.stream().map(entry -> modifyCase(entry, key, lKey)).distinct());
}
@Override