Skip to content

Commit

Permalink
Merge pull request #989 from WildMeOrg/add_displayName_toCMR_output_c…
Browse files Browse the repository at this point in the history
…omments

Add MarkedIndividual.getDisplayName() to individual capture history record comment ba…
  • Loading branch information
naknomum authored Jan 23, 2025
2 parents 00f0af7 + 4248530 commit b798976
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ private String addHistories(Vector<MarkedIndividual> 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");
}
Expand Down

0 comments on commit b798976

Please sign in to comment.