Skip to content

Commit 20cf8d7

Browse files
authored
Behavior alert assignment pool note link update (#1626)
* Fixed the query link * Added a query condition
1 parent 1462774 commit 20cf8d7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

onprc_ehr/resources/queries/study/AssignmentsUnderTheAge.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
AND h.roommateId IS NOT NULL
3939
AND d.enddate IS NULL
4040
AND d.isActive = 1
41+
AND d.project.displayname NOT IN ('0492-02', '0492-03')
4142
) AS Cagemate_Assignments
4243

4344
FROM Assignment a

onprc_ehr/src/org/labkey/onprc_ehr/notification/BehaviorNotification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ private void assignmentPoolUnderTheAge(final Container c, User u, final StringBu
169169
{
170170
msg.append("<b>Animals under the age of 2.5 with \"Assignment pool\" notes:</b><p>");
171171
msg.append( total + " entries found. ");
172-
msg.append("<a href='" + getExecuteQueryUrl(c, "study", "AssignmentsUnderTheAge", null) + "'>Click here to view them</a>\n");
172+
msg.append("<a href='" + getExecuteQueryUrl(c, "study", "AssignmentPoolUnderTheAge", null) + "'>Click here to view them</a>\n");
173173
msg.append("<hr>\n\n");
174174
}
175175
else {

0 commit comments

Comments
 (0)