From 0cb78585a0d53aa807c5f00ae2425771347fa42f Mon Sep 17 00:00:00 2001 From: sunguangming Date: Mon, 20 May 2024 15:03:10 +0800 Subject: [PATCH] * Code for productplan stories url. --- module/productplan/js/view.ui.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/productplan/js/view.ui.js b/module/productplan/js/view.ui.js index 71938ecaf0..f5b2d1082a 100644 --- a/module/productplan/js/view.ui.js +++ b/module/productplan/js/view.ui.js @@ -15,6 +15,10 @@ window.renderStoryCell = function(result, info) let gradeLabel = gradeGroup[story.type][story.grade]; if(gradeLabel) html += "" + gradeLabel + " "; if(html) result.unshift({html}); + if(result.length > 2) + { + result[1].props.href = $.createLink(story.type, 'view', 'storyID=' + story.id); + } } if(info.col.name == 'sort')