diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html
index 2bc2c29617..987ab79d58 100644
--- a/InvenTree/order/templates/order/purchase_order_detail.html
+++ b/InvenTree/order/templates/order/purchase_order_detail.html
@@ -32,6 +32,9 @@
{% endif %}
{% endif %}
+
+
+
diff --git a/InvenTree/templates/js/translated/filters.js b/InvenTree/templates/js/translated/filters.js
index d7e8f45ca5..3e41003696 100644
--- a/InvenTree/templates/js/translated/filters.js
+++ b/InvenTree/templates/js/translated/filters.js
@@ -273,6 +273,11 @@ function setupFilterList(tableKey, table, target) {
var element = $(target);
+ if (!element) {
+ console.log(`WARNING: setupFilterList could not find target '${target}'`);
+ return;
+ }
+
// One blank slate, please
element.empty();
diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js
index af6582957d..0bb6696f98 100644
--- a/InvenTree/templates/js/translated/order.js
+++ b/InvenTree/templates/js/translated/order.js
@@ -665,6 +665,18 @@ function loadPurchaseOrderTable(table, options) {
*/
function loadPurchaseOrderLineItemTable(table, options={}) {
+ options.params = options.params || {};
+
+ var filters = loadTableFilters('purchaseorderlineitem');
+
+ for (var key in options.params) {
+ filters[key] = options.params[key];
+ }
+
+ var target = options.filter_target || '#filter-list-purchase-order-lines';
+
+ setupFilterList('purchaseorderlineitem', $(table), target);
+
function setupCallbacks() {
if (options.allow_edit) {
$(table).find('.button-line-edit').click(function() {