normalization optimized

This commit is contained in:
2026-08-03 21:51:54 +00:00
parent bfc6128353
commit bd23858537
8 changed files with 95 additions and 46 deletions
+3 -3
View File
@@ -47,9 +47,9 @@
}
function normalize(value) {
const sharedNormalize = window.AssetManagerNormalizeSearchText;
if (typeof sharedNormalize === 'function') {
return sharedNormalize(value, {
const sharedKey = window.AssetManagerGermanSearchKey;
if (typeof sharedKey === 'function') {
return sharedKey(value, {
caseSensitive: !caseInsensitive.checked,
collapseWhitespace: true
});