From 2a846c7030ede0fcc0eda0df9f71ea0ddd3b7289 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 21 Sep 2022 14:01:30 +1000 Subject: [PATCH] Only limit length of link if specified (#3700) --- InvenTree/templates/js/translated/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/helpers.js b/InvenTree/templates/js/translated/helpers.js index 2a2b8b23ae..edd12a4ac5 100644 --- a/InvenTree/templates/js/translated/helpers.js +++ b/InvenTree/templates/js/translated/helpers.js @@ -258,7 +258,7 @@ function renderLink(text, url, options={}) { return text; } - var max_length = options.max_length || 100; + var max_length = options.max_length || 0; if (max_length > 0) { text = shortenString(text, {