diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index 6f13de30a3..a1101f1bdb 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -52,12 +52,10 @@ loadStockTrackingTable($("#track-table"), { - params: function(p) { - return { - ordering: '-date', - item: {{ item.pk }}, - user_detail: true, - }; + params: { + ordering: '-date', + item: {{ item.pk }}, + user_detail: true, }, url: "{% url 'api-stock-track' %}", }); diff --git a/InvenTree/templates/js/stock.js b/InvenTree/templates/js/stock.js index 660a09e5af..bfb539c3c5 100644 --- a/InvenTree/templates/js/stock.js +++ b/InvenTree/templates/js/stock.js @@ -932,7 +932,6 @@ function loadStockTrackingTable(table, options) { cols.push({ field: 'title', title: '{% trans "Description" %}', - sortable: true, formatter: function(value, row, index, field) { var html = "" + value + ""; @@ -957,7 +956,6 @@ function loadStockTrackingTable(table, options) { }); cols.push({ - sortable: true, field: 'user', title: '{% trans "User" %}', formatter: function(value, row, index, field) {