mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Disable pagination for data tables
This commit is contained in:
parent
0954b5a741
commit
02ea26b090
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#batteries-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -1,5 +1,5 @@
|
||||
$('#batteries-overview-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[2, 'desc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#habits-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -1,5 +1,5 @@
|
||||
$('#habits-overview-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[2, 'desc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#locations-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#apikeys-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[4, 'desc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#products-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -35,7 +35,7 @@
|
||||
});
|
||||
|
||||
$('#quantityunits-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -27,7 +27,7 @@ $(document).on('click', '#add-products-below-min-stock-amount', function(e)
|
||||
});
|
||||
|
||||
$('#shoppinglist-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[1, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
@ -1,5 +1,5 @@
|
||||
$('#stock-overview-table').DataTable({
|
||||
'pageLength': 50,
|
||||
'bPaginate': false,
|
||||
'order': [[3, 'asc']],
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user