We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fc09b commit 594ca35Copy full SHA for 594ca35
src/resources/views/scout.blade.php
@@ -2,7 +2,7 @@
2
$('#%1$s').on('xhr.dt', function (e, settings, json, xhr) {
3
if (json == null || !('disableOrdering' in json)) return;
4
5
- let table = LaravelDataTables[$(this).attr('id')];
+ let table = {{ config('datatables-html.namespace', 'LaravelDataTables') }}[$(this).attr('id')];
6
if (json.disableOrdering) {
7
table.settings()[0].aoColumns.forEach(function(column) {
8
column.bSortable = false;
0 commit comments