Merge pull request #324 from expsa/fix_normalization_dev_odex25_base

[fix] ى has been added
This commit is contained in:
Tahir Hassan 2024-07-21 11:46:04 +04:00 committed by GitHub
commit cad6aeb9e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ odoo.define('fims_row_no_header_fix_tree_view.list_search', function (require) {
.replace(/[\u06F0-\u06F9]/g, (d) => String.fromCharCode(d.charCodeAt(0) - 0x06F0 + 0x0030)) // Convert Extended Arabic-Indic digits to Latin digits
.replace(/[\u0622\u0623\u0625\u0627]/g, 'ا') // Normalize different forms of Alef
.replace(/[\u0629]/g, 'ه') // Normalize Teh Marbuta to Heh
.replace(/[\u064A\u0626]/g, 'ي') // Normalize different forms of Yeh
.replace(/[\u064A\u0626\u0649]/g, 'ي') // Normalize different forms of Yeh
.replace(/[\u0624\u0648]/g, 'و'); // Normalize Waw and its variants
}