mirror of
https://github.com/evilhero/mylar
synced 2025-03-11 06:22:48 +00:00
FIX: de-sensitize alphabetSearch for case (#2381)
This commit is contained in:
parent
54eb2bb96d
commit
81fa69c246
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ $.fn.dataTable.ext.search.push( function ( context, searchData ) {
|
||||||
if ( context.alphabetSearch.match('nonalpha') && !(searchData[1].charAt(0).match(/^[a-zA-Z]/)) ) {
|
if ( context.alphabetSearch.match('nonalpha') && !(searchData[1].charAt(0).match(/^[a-zA-Z]/)) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if ( searchData[1].charAt(0) === context.alphabetSearch ) {
|
if ( searchData[1].charAt(0).toUpperCase() === context.alphabetSearch ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue