mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 10:46:36 +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 locationsTable = $('#locations-table').DataTable({ | ||||
| 	'order': [[1, 'asc']], | ||||
| 	'columnDefs': [ | ||||
| 		{ 'orderable': false, 'targets': 0 } | ||||
| 		{ 'orderable': false, 'targets': 0 }, | ||||
| 		{ 'searchable': false, "targets": 0 } | ||||
| 	] | ||||
| }); | ||||
| $('#locations-table tbody').removeClass("d-none"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user