Skip to content

Commit 51bf128

Browse files
committed
None sensitive search #66
1 parent 4f113b4 commit 51bf128

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

force-app/main/default/staticresources/OrgCheck_OrgCheck_SR.resource

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,9 +1378,10 @@ const OrgCheck = {
13781378
nbVisible++;
13791379
} else {
13801380
let hidden = true;
1381+
const lowerCaseSearchValue = searchValue.toLowerCase();
13811382
for (let i=0; i<tr.children.length; i++) {
1382-
const v = tr.children[i].innerText;
1383-
if (v && v.includes && v.includes(searchValue)) {
1383+
const v = tr.children[i].innerText?.toLowerCase();
1384+
if (v && v.includes && v.includes(lowerCaseSearchValue)) {
13841385
hidden = false;
13851386
nbVisible++;
13861387
break;

0 commit comments

Comments
 (0)