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