ColumnControl - search with diacritics
ColumnControl - search with diacritics
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

This question has an accepted answers - jump to answer
Answers
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
@allan try to change Contains to Equals "Aaron Ačkoli"
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 whilecontainsmakes 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
@allan Is there any way to remove the equals option from the search select through configuration?
Yes, you can use the
excludeLogicconfiguration option for the search types.Allan
I found simmilar problem with search "Does not contain"
how to reproduce:
- set col "name" search to "does not contain"
- type "Ačkoli"
- Ačkoli row is still there