mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Fixed DataTables earch / don't search the first column with buttons/menus (fixes #440)
This commit is contained in:
@@ -116,7 +116,8 @@ $('#quantityunit-form input').keydown(function(event)
|
||||
var quConversionsTable = $('#qu-conversions-table').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 }
|
||||
]
|
||||
});
|
||||
$('#qu-conversions-table tbody').removeClass("d-none");
|
||||
|
Reference in New Issue
Block a user