ColumnControl - search with diacritics

ColumnControl - search with diacritics

spownspown Posts: 8Questions: 4Answers: 0

Link to test case: https://live.datatables.net/lepovoku/1
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Search with diacritics doesn’t work.

Try to search name equals "Aaron Ačkoli" > table is emtpy

Answers

  • allanallan Posts: 65,545Questions: 1Answers: 10,891 Site admin

    That's odd, your example appears to work okay for me:

    I simply loaded your example, click the dropdown for the "Name" column and then paste in "Aaron Ačkoli" to the text search and it works as expected.

    Allan

  • spownspown Posts: 8Questions: 4Answers: 0

    @allan try to change Contains to Equals "Aaron Ačkoli"

  • allanallan Posts: 65,545Questions: 1Answers: 10,891 Site admin

    Ah, sorry, I missed that point. Yes, I would expect that to not match at the moment - the equals condition just does a simple == comparison while contains makes use of DataTables smart search which does handle diacritic normalisation.

    I'll have a think about how I might handle that better in future - many thanks for letting me know about it.

    Allan

Sign In or Register to comment.