Merge pull request #2637 from SchrodingersGat/stock-item-breadcrumb-fix

Fix breadcrumb tree for stock item page
This commit is contained in:
Oliver 2022-02-16 22:49:31 +11:00 committed by GitHub
commit 8bc84e8aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -618,7 +618,7 @@ enableBreadcrumbTree({
{% endif %}
processNode: function(node) {
node.text = node.name;
node.href = `/stock/item/${node.pk}/`;
node.href = `/stock/location/${node.pk}/`;
return node;
}