diff --git a/public/viewjs/productform.js b/public/viewjs/productform.js index f253d1c2..42854796 100644 --- a/public/viewjs/productform.js +++ b/public/viewjs/productform.js @@ -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 }, diff --git a/public/viewjs/recipeform.js b/public/viewjs/recipeform.js index e0944b79..6237ee9a 100644 --- a/public/viewjs/recipeform.js +++ b/public/viewjs/recipeform.js @@ -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 }, diff --git a/public/viewjs/shoppinglist.js b/public/viewjs/shoppinglist.js index e0715c74..50ef1b74 100644 --- a/public/viewjs/shoppinglist.js +++ b/public/viewjs/shoppinglist.js @@ -1,5 +1,6 @@ var shoppingListTable = $('#shoppinglist-table').DataTable({ 'order': [[1, 'asc']], + "orderFixed": [[3, 'asc']], 'columnDefs': [ { 'orderable': false, 'targets': 0 }, { 'searchable': false, "targets": 0 },