2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 04:56:45 +00:00

Merge pull request #2711 from SchrodingersGat/link-fix

Fix broken URL

(cherry picked from commit 004ced80303c04a65bf930ec432a06e3c41ce710)
This commit is contained in:
Oliver 2022-03-04 13:52:22 +11:00
parent a8047921df
commit 451702f018

View File

@ -824,7 +824,7 @@ function loadPurchaseOrderTable(table, options) {
sortable: true,
sortName: 'supplier__name',
formatter: function(value, row) {
return imageHoverIcon(row.supplier_detail.image) + renderLink(row.supplier_detail.name, `/company/${row.supplier}/purchase-orders/`);
return imageHoverIcon(row.supplier_detail.image) + renderLink(row.supplier_detail.name, `/company/${row.supplier}/?display=purchase-orders`);
}
},
{