Skip to content

Commit

Permalink
Merge pull request #892 from AtlasOfLivingAustralia/890-headings-csv
Browse files Browse the repository at this point in the history
#890 return missing first row to headings.csv
  • Loading branch information
adam-collins authored Mar 28, 2024
2 parents c960c4b + 0a550dc commit d3dfa13
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,7 @@ public void getHeadings(DownloadHeaders downloadHeaders, OutputStream out,
String[] headerOutput = downloadHeaders.joinedHeader();

if (fieldsRequested != null && headerOutput != null) {
// ignore first fieldsRequested and headerOutput record
for (int i = 1; i < fieldsRequested.length && i < headerOutput.length; i++) {
for (int i = 0; i < fieldsRequested.length && i < headerOutput.length; i++) {

// find indexedField by download name
IndexFieldDTO ifdto = null;
Expand Down

0 comments on commit d3dfa13

Please sign in to comment.