From 8af5ec9a9c1a696eee2a940630b5375e0fef3a03 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Mon, 23 Sep 2024 15:22:21 -0700 Subject: [PATCH] Put project name in description --- nirc_ehr/resources/queries/study/assignment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nirc_ehr/resources/queries/study/assignment.js b/nirc_ehr/resources/queries/study/assignment.js index 52a24d70..cfa2bab5 100644 --- a/nirc_ehr/resources/queries/study/assignment.js +++ b/nirc_ehr/resources/queries/study/assignment.js @@ -76,7 +76,8 @@ EHR.Server.TriggerManager.registerHandlerForQuery(EHR.Server.TriggerManager.Even row.project = projectId; } else { - console.log("project can not be found - ", projectName); + row.description = projectName; + console.log("project can not be found: " + projectName + " for Id: " + row.Id); } prevAnimalId = row.Id; if (!(!row.endDate || row.endDate === 'undefined')) {