mirror of
https://github.com/grocy/grocy.git
synced 2025-08-14 01:37:22 +00:00
Fixed DataTables earch / don't search the first column with buttons/menus (fixes #440)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
var userobjectsTable = $('#userobjects-table').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 }
|
||||
]
|
||||
});
|
||||
$('#userobjects-table tbody').removeClass("d-none");
|
||||
|
Reference in New Issue
Block a user