Merge pull request #2480 from SchrodingersGat/part-po-filter-fix

Fix filtering for part purchase order table
This commit is contained in:
Oliver 2021-12-22 11:24:02 +11:00 committed by GitHub
commit 688b5281fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -784,7 +784,7 @@ function loadPartPurchaseOrderTable(table, part_id, options={}) {
options.params.part_detail = true; options.params.part_detail = true;
options.params.order_detail = true; options.params.order_detail = true;
var filters = loadTableFilters('partpurchaseorders'); var filters = loadTableFilters('purchaseorderlineitem');
for (var key in options.params) { for (var key in options.params) {
filters[key] = options.params[key]; filters[key] = options.params[key];