2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Fix filtering for purchaseorder table on supplierpart page (#3115)

This commit is contained in:
Oliver 2022-06-02 14:25:28 +10:00 committed by GitHub
parent 3b3238f762
commit bd92ff1290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,7 +309,9 @@ $('#new-price-break').click(function() {
}); });
loadPurchaseOrderTable($("#purchase-order-table"), { loadPurchaseOrderTable($("#purchase-order-table"), {
url: "{% url 'api-po-list' %}?supplier_part={{ part.id }}", params: {
supplier_part: {{ part.id }},
}
}); });
loadStockTable($("#stock-table"), { loadStockTable($("#stock-table"), {