SearchPanes: Setting Language does not worl (Core 3 + SearchPanes 3)
SearchPanes: Setting Language does not worl (Core 3 + SearchPanes 3)
Core 3.1.4 + SearchPanes 3.0.0 + Select 4.1.1
Link to test case:
Debugger code (debug.datatables.net):
I uploaded the file. But where is the link after uploading?
Error messages shown:
(Multiples times)
DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter 'total' for row 3, column 1. For more information about this error, please see https://datatables.net/tn/4
Description of problem:
SearchPanes do not work for us if the language-file is set.
We get multiple Alert-Messages and Filtering is not working.
If we remove the 'language' attribute it works fine.
The problem is with 'en-GB.json' too. Did not test more language files.
// 3.1.4 (same as https://cdn.datatables.net/plug-ins/3.1.4/i18n/de-DE.json)
language: {
url: '{{ asset('lib/datatable/de-DE.json') }}'
},
Answers
Maybe this key is relevant. countFiltered "{shown} ({total})"
It should show a 6 character code where the upload button was.
Regarding the error, I've recreated the issue here: https://live.datatables.net/miwomayu/1/edit . I agree, there is a bug there! Thanks for letting me know about it. I'll post back when I've got a fix.
Allan
I've committed a fix for the error and the nightly build now had it. This is the demo updated with the nightly showing the fix.
Many thanks for letting me know about this error. The fix will be in the next patch release.
Allan