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