Link to test case: https://service-prim.ru/eshop/albums-copy
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Hello. After upgrade with new DT, the cyrillic character "й" in search input sting gives incorrect result. In my test case some records of 10th column contains the word "детский", which has "й" at the ending. When I run code in Chrome DevTools like
itemsTable.column(10).search('детский').draw()
in console I've got an empty result. If I just remove this last character and run itemsTable.column(10).search('детски').draw()
everything goes right. At the same time code itemsTable.column(10).search('й').draw()
also gives strange result which includes some records even not containing the words with "й". Is it became a kind of special character? As for another characters with the same effect, I didn't tested thoroughly, but looks like working good.
However in DT1.10 there's no problem with it.
https://service-prim.ru/eshop/albums - here is the page running with old DT10.1 with the same dataset as my test one. And if I perform CatalogTable.column(10).search('детский').draw()
I'll see the correct result.
Does anybody know the solution?
Thanks.
↧
Search can't be correctly performed with some cyrillic characters in input string since using DT2.2+
↧