Merge pull request #144 from larvanitis/patch-1

Filtering: accent-neutralise - Added extra greek forms 'ϊΐϋΰ'
pull/223/head
Allan Jardine 9 years ago
commit f730a1f837

@ -39,13 +39,13 @@ jQuery.fn.DataTable.ext.type.search.string = function ( data ) {
'' : '' :
typeof data === 'string' ? typeof data === 'string' ?
data data
.replace( /έ/g, 'ε') .replace( /έ/g, 'ε' )
.replace( /ύ/g, 'υ') .replace( /[ύϋΰ]/g, 'υ' )
.replace( /ό/g, 'ο') .replace( /ό/g, 'ο' )
.replace( /ώ/g, 'ω') .replace( /ώ/g, 'ω' )
.replace( /ά/g, 'α') .replace( /ά/g, 'α' )
.replace( /ί/g, 'ι') .replace( /[ίϊΐ]/g, 'ι' )
.replace( /ή/g, 'η') .replace( /ή/g, 'η' )
.replace( /\n/g, ' ' ) .replace( /\n/g, ' ' )
.replace( /á/g, 'a' ) .replace( /á/g, 'a' )
.replace( /é/g, 'e' ) .replace( /é/g, 'e' )

Loading…
Cancel
Save