diff --git a/InvenTree/templates/js/translated/attachment.js b/InvenTree/templates/js/translated/attachment.js index 19c04b4a80..bef49961a6 100644 --- a/InvenTree/templates/js/translated/attachment.js +++ b/InvenTree/templates/js/translated/attachment.js @@ -196,6 +196,7 @@ function loadAttachmentTable(url, options) { search: true, queryParams: options.filters || {}, uniqueId: 'pk', + sidePagination: 'server', onPostBody: function() { // Add callback for 'edit' button diff --git a/InvenTree/templates/js/translated/tables.js b/InvenTree/templates/js/translated/tables.js index 661b3f6f68..befe967860 100644 --- a/InvenTree/templates/js/translated/tables.js +++ b/InvenTree/templates/js/translated/tables.js @@ -375,10 +375,6 @@ $.fn.inventreeTable = function(options) { options.totalField = 'count'; options.dataField = 'results'; - if (options.sidePagination == null) { - options.sidePagination = 'server'; - } - } else { options.pagination = false; }