In-table search issue

From semantic-mediawiki.org

Hi, I have an issue about the datatables default search: when I digit 'a' it doesn't show rows with 'à' (the same happens with other letters with accents). I hope I have been clear in describing the issue. Do you think s there any solution to this problem? Thanks for your help, Lorenzo

16:31, 29 March 2017

Yeah, I understand what you mean. I believe that this is an enhancement that should be reported. Probably some regex foo is required to make it understand these chars without accents.

00:02, 30 March 2017
 

SMW only provides the "raw" data to the datatables plug-in [0] and any functionality provided by that plug-in (including the in-search functionality) is a matter of that plug-in.

As for the search of accents, [1, 2] elaborates a bit more on the search and how to solve a potential issue.

12:43, 1 April 2017

Thanks for the answers!
I must confess: I am quite a dummy in this stuff so I have to ask for your help and patience. I read the links you gave me but I didn't understand a lot actually :(
I gave a look to ext.srf.format.datables.js in the SRF folder but I can't find anything similar to the code described in the discussions you listed. Could you give me some other hints, please? Thanks again,

19:33, 1 April 2017

> I gave a look to ext.srf.format.datables.js

ext.srf.format.datables.js is part of SMW and only responsible for communicating with the datatables plug-in [0]. Content of [0] is maintained by [1] therefore generally we don't manipulate those files or its inner workings.

14:19, 2 April 2017

Thanks for the explanation. So there is no easy way to solve this issue, am I correct?
Thanks again, Lorenzo

19:11, 5 April 2017

There will be a feature coming with 3.0 to support in-table search [0, 1]. [1] can be used as a starting point to fix the SRF:DataTables.

[0] https://sandbox.semantic-mediawiki.org/wiki/Issue/2420

[1] https://sandbox.semantic-mediawiki.org/wiki/Discussion:French_accents

17:11, 16 April 2017