You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mcc/src/org/labkey/mcc/notification/MCCDataNotification.java
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ public String getMessageBodyHTML(Container c, User u)
80
80
doParentSexCheck(mccData, u, msg);
81
81
doU24AssignedCheck(mccData, u , msg);
82
82
doMissingIdCheck(mccData, u, msg);
83
+
doZeroWeightCheck(mccData, u, msg);
83
84
84
85
//since we dont want to trigger an email if there's no alerts, conditionally append the title
85
86
if (msg.length() > 0)
@@ -100,7 +101,22 @@ protected void doMissingIdCheck(final Container c, User u, final StringBuilder m
100
101
if (count > 0)
101
102
{
102
103
msg.append("<b>WARNING: There are ").append(count).append(" animals missing MCC IDs\n");
103
-
msg.append("<p><a href='").append(getExecuteQueryUrl(c, "study", "demographics", null)).append("&").append(filter.toQueryString("query")).append("'>Click here to view them</a><br>\n\n");
104
+
msg.append("<p><a href='").append(getExecuteQueryUrl(c, "mcc", "aggregatedDemographics", null)).append("&").append(filter.toQueryString("query")).append("'>Click here to view them</a><br>\n\n");
msg.append("<b>WARNING: There are ").append(count).append(" animals listing weight as zero\n");
119
+
msg.append("<p><a href='").append(getExecuteQueryUrl(c, "mcc", "aggregatedDemographics", null)).append("&").append(filter.toQueryString("query")).append("'>Click here to view them</a><br>\n\n");
0 commit comments