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
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.
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.
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,
> 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.
Thanks for the explanation. So there is no easy way to solve this issue, am I correct?
Thanks again,
Lorenzo
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