diff --git a/src/main/java/org/ecocean/servlet/export/SimpleCMROutput.java b/src/main/java/org/ecocean/servlet/export/SimpleCMROutput.java index 1d175d4b33..c296812ec7 100644 --- a/src/main/java/org/ecocean/servlet/export/SimpleCMROutput.java +++ b/src/main/java/org/ecocean/servlet/export/SimpleCMROutput.java @@ -182,8 +182,9 @@ private String addHistories(Vector rIndividuals, int numSessio } String includeID = ""; if (request.getParameter("includeIndividualID") != null) { - includeID = " /* " + indie.getIndividualID() + " */"; + includeID = " /* " +indie.getDisplayName()+" "+ indie.getIndividualID() + " */"; } + //this if drops individuals never sighted and only prints individuals with at least one capture if (thisRecord.indexOf("1") != -1) { histories.append(thisRecord + " 1;" + includeID + "\r\n"); }