Fix for build table

This commit is contained in:
Oliver Walters 2020-10-26 22:44:24 +11:00
parent 9203f541be
commit d8a0ab8879

View File

@ -621,7 +621,7 @@ function loadBuildTable(table, options) {
switchable: false, switchable: false,
formatter: function(value, row, index, field) { formatter: function(value, row, index, field) {
var prefix = "{% inventree_setting 'BUILDORDER_REFERENCE_PREFIX' %}"; var prefix = "{% settings_value 'BUILDORDER_REFERENCE_PREFIX' %}";
if (prefix) { if (prefix) {
value = `${prefix}${value}`; value = `${prefix}${value}`;