mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Restore the rest of "orderFixed" (DataTables rowgroup option) (again closes #1534)
This commit is contained in:
parent
7f70f0ec07
commit
23be96b5d6
@ -269,6 +269,7 @@ $("#delete-current-product-picture-button").on("click", function(e)
|
||||
|
||||
var quConversionsTable = $('#qu-conversions-table-products').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
"orderFixed": [[4, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
@ -284,6 +285,7 @@ quConversionsTable.columns.adjust().draw();
|
||||
|
||||
var barcodeTable = $('#barcode-table').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
"orderFixed": [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
|
@ -77,6 +77,7 @@ $('.save-recipe').on('click', function(e)
|
||||
|
||||
var recipesPosTables = $('#recipes-pos-table').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
"orderFixed": [[4, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
|
@ -1,5 +1,6 @@
|
||||
var shoppingListTable = $('#shoppinglist-table').DataTable({
|
||||
'order': [[1, 'asc']],
|
||||
"orderFixed": [[3, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'searchable': false, "targets": 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user