Skip to content

Commit

Permalink
#890 return missing first row to headings.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Collins committed Mar 25, 2024
1 parent 91bd4e0 commit 0a550dc
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 0a550dc

Please sign in to comment.